home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr05
/
pdxwn693.zip
/
MAY93WIN.MSG
< prev
next >
Wrap
Text File
|
1993-06-11
|
464KB
|
13,929 lines
#: 25486 S1/Miscellaneous
03-May-93 02:09:00
Sb: #Runtime
Fm: Randy Spitz (Sysop) 76702,1315
To: ALL
First, I want to assure everyone that THERE DEFINITELY WILL BE A PARADOX
FOR WINDOWS RUNTIME; however, I am not at liberty to say when it will
be available.
Second, I also want to assure everyone that Borland WILL NOT ABANDON ITS
CUSTOMERS. We understand that there are people out there with
completed applications that need to be delivered. Currently, we are working
on a licensing plan to allow the distribution of completed applications for
the period prior to the release of runtime. The details of this plan are
currently being worked out, and I was told an announcement could be made
within a few weeks. So, don't worry, the day when you can distribute your
application without buying full product for each and every one of your
#: 33981 S1/Miscellaneous
08-Jun-93 21:02:36
Sb: #33305-Runtime
Fm: Robert Ramirez (Sysop) 76702,255
To: Randy Minder 73750,3601 (X)
Hello Randy,
We have announced The PFW Distribution License. This license, which is
available through our order line (800-331-0877), allows developers to
distribute PFW and a special license screen with their application. You
will receive run time when it is released and be required to redistribute
your apps with run time.
~Robert
Borland Tech. Support
#: 31330 S1/Miscellaneous
27-May-93 15:24:17
Sb: #Form/Password bug?
Fm: Vikram Chandra 72617,2761
To: Borland
I get a general protection error consistently when I try and open a form which
has three linked child tables. Each of the tables has a password and one
auxillary password. The auxillary password my user wants to use is "*" (an
asterisk).
The GPF vanishes if I restructure the tables. It persists if I just remove
the auxillary passwords.
What's going on?
-- Vikram
* Reply: 31554
#: 31554 S1/Miscellaneous
28-May-93 12:50:37
Sb: #31330-#Form/Password bug?
Fm: Steve Neverve (Sysop) 71333,114
To: Vikram Chandra 72617,2761 (X)
Vikram,
Try creating a new, sample form with simple tables and the same type of setup.
Does the problem happen with this new form? Can you duplicate this error on
another machine?
GPF's are memory errors. They result from memory conflicts. Try the below
steps to eliminate the GPF's.
1. Add EMMEXCLUDE=A000-C7FF to the 386Enh section of your System.INI.
2. Remove all memory resident programs from your system.
3. Refer to TI1283.ZIP for additional information on simplifying your
system.
Steve
#: 31342 S1/Miscellaneous
27-May-93 16:07:05
Sb: #PDOX 3.5 Format
Fm: Anthony Ferrer 71202,523
To: All
Greetings,
Is there a way to convert Paradox for Win files to Paradox 3.5 format in
Pdox\Win? It's easy to do in 4.0, but I can't find it in Windows.
Thanks,
Anthony
* Reply: 31555
#: 31555 S1/Miscellaneous
28-May-93 12:50:41
Sb: #31342-PDOX 3.5 Format
Fm: Steve Neverve (Sysop) 71333,114
To: Anthony Ferrer 71202,523 (X)
Anthony,
You will need to create a Paradox 3.5 file, File | New Table | Paradox 3.5
and borrow the structure from your PDW table. There is a borrow option in
the lower left corner of the new table dialog box. The borrow feature
allows you to create a new table with the same structure as an existing
table. Once you have created your 3.5 table, add, (File | Utilities | Add),
the data in the PDW table to the 3.5 table.
Steve
#: 31344 S1/Miscellaneous
27-May-93 16:13:40
Sb: #Sys Resource Leak
Fm: Chris Paynter 76300,2451
To: all
We have noticed that Paradox for Windows tends to gobble system resources,
especially when repeatedly switching between design and run modes in an
application. Even after exiting Paradox, the system resources are depleted.
Is there an acknowledged "memory leak" with Paradox, or is there something we
can do to alleviate this problem. Also, are there known problems with memory
leaks in running Paradox for Windows applications? We'll be concerned about
this when we go to deploy our apps.
Chris.
* Reply: 31528
#: 31528 S1/Miscellaneous
28-May-93 12:06:30
Sb: #31344-Sys Resource Leak
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Chris Paynter 76300,2451 (X)
Chris:
Are you using a floating speedbar? There is an acknowledged problem with this
config in v1.0. Try setting the speedbar back to fixed along the top of the
screen.
[Dan -> ]
#: 31353 S4/Forms
27-May-93 16:50:56
Sb: #Corrupted Forms?
Fm: Quinn Wildman (Sysop) 76703,3033
To: Gary Foster 72720,275 (X)
In experimenting with this, I find I have mislead you (because I had someone
that mislead me!). The limit to the number of field objects, is a limit per
form, not a limit per table, as I had previously indicated. To get more than
approximately 130 fields, you'll need to use a second form.
* Reply: 31415
#: 31415 S4/Forms
27-May-93 20:05:05
Sb: #31353-Corrupted Forms?
Fm: Gary Foster 72720,275
To: Quinn Wildman (Sysop) 76703,3033 (X)
FYI: my form has 119 fields. I finally added the code successfully, but I had
to attach it to a custom method on a page. It would not let me (it was
corrupted) when I added to a method on the form. Weird. I will split the
form in two, and try to add the code. Thanks for helping.
#: 31354 S4/Forms
27-May-93 16:51:04
Sb: Refreshing UIObjects
Fm: Quinn Wildman (Sysop) 76703,3033
To: David Lambert, DDS 76264,2246 (X)
>By the way...what's the difference between issuing the command
>action(datainsertrecord) and the UI object method insertrecord() command?
If you have a single table form, there is no difference. The difference can
be when you have a multitable form, action(datainsertrecord) inserts a record
into the table for the current object. ui.insertrecord() inserts a record into
the table associated with that uiobject, which may not be the current object.
#: 31358 S4/Forms
27-May-93 16:51:28
Sb: #Lkup/Fill Event routine
Fm: Quinn Wildman (Sysop) 76703,3033
To: David Lambert, DDS 76264,2246 (X)
What you'll want to do is in the candepart method look for error constant of
peLookupTableErr, and when it occurs, open a tcursor and add the record to the
table.
Your code might look like the following:
var
tc tcursor
endvar
dodefault
if eventinfo.id()=peLookupTableErr then
tc.open("table")
tc.edit()
tc.insertrecord()
tc.field=self.value
tc.close()
endif
dodefault
* Reply: 31472
#: 31472 S4/Forms
28-May-93 03:34:16
Sb: #31358-#Lkup/Fill Event routine
Fm: GARY HANDLEY 100271,1164
To: Quinn Wildman (Sysop) 76703,3033 (X)
Quinn,
The Fill-in/lookup code is exactly what I have been looking for, the only
thing is I can't egt it to work as you describe, the problem is in the
eventInfo.id(), comes up with paramter mismatch, I tried changing it to
errorcode() = peLookupTableErr and although it compiled, the code didn't
activate when tested. Any ideas?
Gary
* Reply: 31616
#: 31616 S4/Forms
28-May-93 16:15:42
Sb: #31472-Lkup/Fill Event routine
Fm: Quinn Wildman (Sysop) 76703,3033
To: GARY HANDLEY 100271,1164 (X)
Oops, I see I made a mistake in my first message. Replacing eventinfo.id()
with errorcode() should do what you want. Did you put the code in candepart?
To you enter a lookupvalue that doesn't exist to see if it works? Did you use
the try settinng a break point using the debugger and see how and when things
execute?
#: 31359 S4/Forms
27-May-93 16:51:32
Sb: Report Field Alignment
Fm: Quinn Wildman (Sysop) 76703,3033
To: BRUCE E LEANDRO 72731,175 (X)
Turn off Design|Fit Width is all the field object and all should line up. The
easiest way to do this is by first pressing Escape one or more times until no
objects are selected, and then doing Control-Right click anywhere on the
report.
#: 31360 S4/Forms
27-May-93 16:51:36
Sb: #Fly Away
Fm: Quinn Wildman (Sysop) 76703,3033
To: BRUCE E LEANDRO 72731,175 (X)
To make detail records not flyaway, attach the following code to the action
method of your detail table:
if eventinfo.id()=DataUnlockrecord then
disabledefault
self.postrecord()
endif
#: 31361 S4/Forms
27-May-93 16:51:41
Sb: resizing
Fm: Quinn Wildman (Sysop) 76703,3033
To: george kwong 70031,427 (X)
>Is there a way to detect when a form is being resized?
In the menuaction method for the form look eventinfo.id()=MenuControlSize.
Your code might look like the following:
...
else
if eventinfo.id()=MenuControlSize then
;dosomething
endif
endif
#: 31362 S4/Forms
27-May-93 16:51:48
Sb: #Lib referencing
Fm: Quinn Wildman (Sysop) 76703,3033
To: Dean A. Gittleman 72360,165 (X)
>... What approach must I take in order to use a common library in an
application >such as this (multiple Pdox instances, multiple directories...)?
Nothing really special. Each time you call the library, you need a uses
statement, to open the library, and then to call the method in the library.
The only thing you might to concern yourself with where the library is found.
If it is in a directory pointed to by an alias, then you should be able to
universally refer to the alias. Below is a very simple example I tried that
works in two different instances of Paradox for Windows:
;In the library
method hello()
msginfo("","hello")
endmethod
;In a pushbutton
Uses ObjectPal
hello()
EndUses
Method Pushbutton(var Eventinfo Event)
var
lib library
endvar
if not lib.open(":alias:test") then
msginfo("","Can't open library")
else
lib.hello()
endif
* Reply: 31489
#: 31489 S4/Forms
28-May-93 09:00:22
Sb: #31362-#Lib referencing
Fm: Dean A. Gittleman 72360,165
To: Quinn Wildman (Sysop) 76703,3033 (X)
Quinn,
Yes, I found that it works to use an alias to refer to the lib directory.
Additionally, it works to use a *FULL* path to the directory.
I prefer to explicitly hard-code drive letters into a network-based
application in order to enhance portability. I find with PdoxWin, though,
that I *must* include the drive letter in the path in order for the app to
successfully open the lib.
Thus, the following does NOT work.
Const
AELib = "\\newsae\\lib\\saelib.lsl" endConst
Subsequent calls to open the lib fail.
On the other hand, the following works fine.
Const
AELib = "q:\\newsae\\lib\\saelib.lsl" endConst
I'm not sure *why* this is the case; maybe something special about having the
two back-slashes immediately after the opening ' " ' char?
I think that I'll stick to aliases.
Thanks. -Dean-
* Reply: 31617
#: 31617 S4/Forms
28-May-93 16:15:45
Sb: #31489-#Lib referencing
Fm: Quinn Wildman (Sysop) 76703,3033
To: Dean A. Gittleman 72360,165 (X)
If you supply a directory without a drive, Paradox will assume the drive for
the current working directory. In that you probably don't want to depend on
that, the best thing to do is to use aliases, or including the drive letter.
* Reply: 31625
#: 31625 S4/Forms
28-May-93 16:37:48
Sb: #31617-#Lib referencing
Fm: Dean A. Gittleman 72360,165
To: Quinn Wildman (Sysop) 76703,3033 (X)
Quinn,
Actually, in omitting the drive letter, I was hoping that PdoxWin *would* use
the current working drive. If it had, the application should have had no
difficulty opening the specified lib. As it turned out, PdoxWin failed to
open the lib *until* I included the drive designation.
Since using aliases provides sufficient portability, I've decided to use that
approach.
Thanks, as always, for your help, and happy holiday...I'm outa here!
-Dean-
* Reply: 32159
#: 32159 S4/Forms
01-Jun-93 15:48:18
Sb: #31625-Lib referencing
Fm: Rick Fillman (Sysop) 76702,273
To: Dean A. Gittleman 72360,165 (X)
> Actually, in omitting the drive letter, I was hoping that PdoxWin
> *would* use the current working drive.
As you've discoverd, that assumtion isn't valid for PdoxWin. If
you'ld like to use such an assumption, then code it! You can
determing workDir's drive for yourself by looking at the first
char of thatWhichIsReturned by fileSystem method workingDir()
> Since using aliases provides sufficient portability, I've decided
> to use that approach.
Yep. Aliases are a better way to go.
Rick Fillman, Tech Support (Borland)
#: 31377 S1/Miscellaneous
27-May-93 17:36:20
Sb: #Corrupted form #$%A@
Fm: Brian Reed (Sysop) 71333,2360
To: Andre M. Downey 70761,1206 (X)
Andre,
Have a look at these items here and let me know if you find anything that
helps.
Do you have a printer selected as default?
Have you tried using standard VGA mode if you are runing an enhanced
video driver? This is something greater than (640x480) resolution
with more then 16 colors.
Do you have at least 4 megs extended memory free after starting the
system and before starting Microsoft Windows?
Do you have smartdrive set up?
If your not using smartdrive are you using another disk cache?
Do you have SHARE loaded with the parameters of at least
'share /l:300 /F:3000'?
If you have SHARE loaded, do you have it loaded LOW or HIGH?
If you have a network, did you load SHARE before the drivers or after
the network drivers?
Are you using Norton desktop for Windows?
Have you tried unloading other device drivers at least temporarily
before loading windows?
Are you running a screen saver like afterdark? There are DLL's
associated with afterdark that they have an update for.
Do you have a permanent swap file?
Are you running a PIM or something with alarms?
If you have more then 8 megs of RAM, have you tried running in
standard mode?
Are you running a 3270 emulator or IRMA emulation?
Are you using WinFAX PRO? Do you have autoanswer turned on?
Are you using Wired 4 Sound?
All these things can affect performance and stability of your system
and these are only some of the more standard things that can be a
problem.
Brian Reed (sysop)
* Reply: 31597
#: 31597 S1/Miscellaneous
28-May-93 14:40:48
Sb: #31377-#Corrupted form #$%A@
Fm: Andre M. Downey 70761,1206
To: Brian Reed (Sysop) 71333,2360 (X)
Brian,
Happy Days are here again...
I had to add the /f:3000 param to SHARE and things work much better. I also
moved the LOADHIGH SHARE before the SMARTDRV statement in my AUTOEXEC.BAT but
subjectively I think its the /F which has done it.
Hopefully this is the last time I speak to you in this tread. Enjoy your
Holiday (you do get them I assume).
Andre
#: 34117 S1/Miscellaneous
09-Jun-93 13:09:18
Sb: #33263-Corrupted form #$%A@
Fm: Brian Reed (Sysop) 71333,2360
To: Dale L. Pittock 71214,615
Dale,
Weylan has been out so I am going to attempt to answer this one midstream.
What Weylan was getting at with his message to you was the 64K limit. He was
taking 80 character lines * 800 = 64K. Any combination that results in 64k is
the limit. So if you're close to this limit break your form up into more than
one.
Also, I was just about to send your form to QA, but with this in mind I will
try adding just any old code and see if this causes corruption also. Then
we'll know that we've reached another limit.
Brian Reed (sysop)
#: 31394 S1/Miscellaneous
27-May-93 18:32:40
Sb: #Calculated Fields
Fm: RICHARD D. CIOTTI 72142,3571
To: Sysop (X)
I have three calculated fields in a form. I can't get a report or query with
the three calculated fields included. Any possible way to do this?
* Replies: 31556, 31577
#: 31556 S1/Miscellaneous
28-May-93 12:50:47
Sb: #31394-#Calculated Fields
Fm: Steve Neverve (Sysop) 71333,114
To: RICHARD D. CIOTTI 72142,3571 (X)
Richard,
I am assuming that you added these calculated fields to the form using the
form tool and that the fields do not exist in the table. What you should do
is this: Create a query that will calculate the fields for you and give the
query a name. This way the new table will contain the calculated fields.
To give the answer table a different name, do the following in a query menu.
Choose Properties | Answer Table | Options and change :Priv:Answer.DB to
something else like TEST. Now, here's how to create a calculated field in a
query. The example below finds the product of Sales and Costs and put the
answer in a new field called Revenue. The x's are checks and "" means an
example element. Select F5 to create an example element. Answer.DB was
changed to NEWTEST.DB using the above info.
Table = Test.DB
Sales Costs
120 30
90 70
Query Answer = NEWTEST.DB
Sales | Costs | Sales Cost Revenue
x "a" | x "b",calc "a"-"b" as Revenue| 120 30 90
90 70 20
Steve
#: 31577 S1/Miscellaneous
28-May-93 13:44:33
Sb: #31394-Calculated Fields
Fm: Weylan Wang -(Sysop)- 76702,1067
To: RICHARD D. CIOTTI 72142,3571
Recalculate them using the the query or report. Calculated fields in forms
are for display only and can't be moved out of that form. If you want to be
able to use that calculation in something else, you are going to want to use
write that into the table itself or use the above recalcuation methods.
-(Weylan Wang)-
-(Borland Paradox Technical Support)-
#: 32559 S1/Miscellaneous
02-Jun-93 17:52:32
Sb: Calculated fields
Fm: Harry D. Boul 71563,707
To: Anyone
I having trouble figuring out how to add up fields that are already calculted
fields.
I'm sure there is an easy way to do this; however, I can't find a way to do
this.
Help!
Harry Boul & Charlie Digges
#: 31408 S1/Miscellaneous
27-May-93 18:52:29
Sb: Networking Paradox
Fm: Stephanie Haas (Sysop) 71333,2145
To: Richard P. Laurie 75310,1457 (X)
Richard,
Paradox supports the following networks: Novell Advanced Netware, 3COM
3Plux/3Plus Open, Microsoft LAN Manager, and any network that is 100% Windows
Compatible. You are correct in that W4WG is not currently a supported network.
Stephanie
#: 31422 S4/Forms
27-May-93 20:38:17
Sb: #recursive form
Fm: Louis Marienthal 72627,3414
To: Quinn Wildman (Sysop) 76703,3033 (X)
I am looking ahead to the problem of a recursive form (i.e., I have not yet
tried to work the problem out with PdxWin).
Consider an accounts-payable application or perhaps a simple cash-basis
accounting for receipts and disbursements. Each transaction that is a payment
or payment-due would obviously refer to a payee or vendor. When entering this
transaction, the first field would probably be the payee/ vendor name/ID, and
the program would of course respond with the name and etc. pertaining to the
payee/vendor.
Now, suppose the payee/vendor record refers to a prior record in the
transaction table which would serve as a model for the transaction being
entered. There would be three levels of model. (1) The new transaction would
be a full copy of the model, including amounts; this for periodic payments of
the same amount for the same purposes. (2) The new transaction would copy
only the accounting distribution of the model; this for periodic payments of
different amounts but for the same purposes. (3) The new transaction is the
first for the payee/vendor, or past transactions do not apply.
Assuming that the model transactions are in the same table as the new record
being entered and that the user would select the level of model, I would guess
that the transaction table would have to be present on two forms and that
lookups to past transactions would have to be programmed.
* Reply: 31613
#: 31613 S4/Forms
28-May-93 16:15:32
Sb: #31422-recursive form
Fm: Quinn Wildman (Sysop) 76703,3033
To: Louis Marienthal 72627,3414
Are you asking a question here? I don't see one.
#: 31426 S2/Install/CFG/HrdWare
27-May-93 20:47:16
Sb: #Pissed Off
Fm: Mike Irwin/Co-Assist 100114,1437
To: David Dinsmore 72630,1542 (X)
David,
I can't speak for the others who help out on this forum (part volounteer and
part staffers), but from recent feedback, having a long wait is a sign of
being very unlucky, so may I please offer you apologies on behalf of all
concerned.
You say you get a stack overflow every time you open a new form. This seems to
be some Windows program crashing because it can't handle a refusal for a
resource-demand - not necessarily P4W.
Could you possibly try reducing your Windows and DOS system to a bare minimum
and trying to reproduce the problem. If you succeed, e-mail me the details
(config, autoexec, win- and system-.ini, and form(s), along with anything else
you can think of, and a note of who it is you are (otherwise I've no idea who
sent me the file !!) and I'll try to help
Mike
* Reply: 31596
#: 31596 S2/Install/CFG/HrdWare
28-May-93 14:34:01
Sb: #31426-Pissed Off
Fm: David Dinsmore 72630,1542
To: Mike Irwin/Co-Assist 100114,1437 (X)
Thanks for someone getting back to me. The problem begins when you spend
forever on hold so you try and use this forum and everybody else has their
message answered and you don't even get acknowledged. I did speak to tech
support yesterday and they gave some suggestions but it's still happening and
getting frustrating. I have enclosed a copy of the database. When I open
"MONTHLY.FSL" the USER error happens almost everytime, but it can happen on
any form. It rarely happens if I open the form from another form. Go
figure...
#: 31650 S2/Install/CFG/HrdWare
28-May-93 19:07:06
Sb: #Pissed Off
Fm: James D Campbell 75630,65
To: David Dinsmore 72630,1542 (X)
I had a similar problem and found out that I needed to change some
configuration stuff. The manual says that you need to bump up the number of
files that can be shared when you load share.exe. I think it defaults to
something like 5-10, and needs to be set around 400. Also many problems can
be eliminated when you proactively tell Windows to keep its hands off certain
areas of high memory. I found it best to do this using x= and i= on your
emm386/qemm386 statements.
Good luck, I think part of the problem is the instability of Windows on top of
brain-dead DOS.
Jim Campbell
#: 31433 S3/Tables/TableView
27-May-93 21:18:23
Sb: #Composite Foriegn Keys
Fm: Jeff Winchell 76066,533
To: ALL
I'm trying to create a simple database to track time for client billings.
I have a main table with a primary key of (Date,Time) and a foriegn key of
(Project,SubProject) referencing Table SubProject.
Table SubProject has a primary key of (Project,SubProject) and a foreign key
(Project) referencing Table Project.
I would like to be able to use Table Lookups from my main table so that I can
fill out the fields Project and SubProject. I can't figure out how to get a
lookup on the combination of two field (Project,SubProject). I can do a lookup
on Project into Table Project. I suppose I could reorder the primary key of
SubProject so that it is (SubProject,Project). Then I'd be able to do a lookup
of SubProject (although the lookup isn't really enforcing the composite
foreign key).
This doesn't seem to be an uncommon requirement of a DBMS, so either Paradox
falls short there, or I'm falling short for not figuring out how to do this.
Also, I can't setup a Foreign Key from my main table, field Project, into the
Table Project because I also have a Composite Foreign Key
(Project,SubProject). Paradox Windows shows an error message saying I can't
cascade referential integrity. I thought Paradox/Windows was advertised as
having cascaded referential integrity, so perhaps I'm not doing this
correctly.
Lastly, I'd really prefer to have a better primary key for my main table. I
don't want two records to overlap in times. However, I can't see anyway to
define a rule to enforce this.
Oh, and some minor stuff: how do I get the Default Value to be a function? I'd
like the Default Value of the Date field to be Today. And I'd like to make the
default value of the Time field to be the closest value to Now within 15
minutes. And I'd also like to be able to make the next record I add default to
the previous record for all other fields (similar to SET CARRY ON in dBASE
IV).
Lots of questions. Hope you don't mind. In general, I find Paradox/Windows
relational integrity constraints to be interesting, though sometimes I need to
define all these rules without any data in the tables (making data rule
modifications difficult). TIA!
* Reply: 31557
#: 31557 S3/Tables/TableView
28-May-93 12:54:54
Sb: #31433-#Composite Foriegn Keys
Fm: David Orriss Jr(Sysop) 75300,1414
To: Jeff Winchell 76066,533 (X)
Jeff,
> I can't figure out how to get a lookup on the combination of two fields
> (Project,SubProject).
Lookups can only be done on a single field. The lookup table can only have
one key field.
> This doesn't seem to be an uncommon requirement of a DBMS, so either
> Paradox falls short there, or I'm falling short for not figuring out how to
> do this.
This is standard behavior in Paradox for DOS and Paradox for Windows. You
can, however, use ObjectPAL to program your own lookup (through forms) and
get the effect you need.
> Also, I can't setup a Foreign Key from my main table, field Project, into
> the
> Table Project because I also have a Composite Foreign Key
> (Project,SubProject). Paradox Windows shows an error message saying I can't
> cascade referential integrity. I thought Paradox/Windows was advertised as
> having cascaded referential integrity, so perhaps I'm not doing this
> correctly.
I'm not quite sure what you mean here. When you say 'foreign' key do you
mean a secondary index? As far as Cascading Referential Integrity, Paradox
does this, but right now I'm not clear on what you mean here.
> Lastly, I'd really prefer to have a better primary key for my main table. I
> don't want two records to overlap in times. However, I can't see anyway to
> define a rule to enforce this.
If I understand this correctly, you might be able to write ObjectPAL code to
enforce this.
> Oh, and some minor stuff: how do I get the Default Value to be a function?
You could do this in a method on a form.
David
* Reply: 31764
#: 31764 S3/Tables/TableView
30-May-93 03:49:13
Sb: #31557-#Composite Foriegn Keys
Fm: Jeff Winchell 76066,533
To: David Orriss Jr(Sysop) 75300,1414 (X)
> Also, I can't setup a Foreign Key from my main table, field Project, into >
the Table Project because I also have a Composite Foreign Key >
(Project,SubProject). Paradox Windows shows an error message saying I can't >
cascade referential integrity. I thought Paradox/Windows was advertised as >
having cascaded referential integrity, so perhaps I'm not doing this >
correctly.
>>I'm not quite sure what you mean here. When you say 'foreign' key do you
>>mean a secondary index? As far as Cascading Referential Integrity, Paradox
>>does this, but right now I'm not clear on what you mean here
I mean foreign key as it is known in relational terminology. Relational keys
have nothing to do with indexes (although indexes may increase performance for
common operations involving keys).
> Oh, and some minor stuff: how do I get the Default Value to be a function?
>>You could do this in a method on a form.
How about in a table view?
Thanks for the info.
* Reply: 32094
#: 32094 S3/Tables/TableView
01-Jun-93 12:47:43
Sb: #31764-Composite Foriegn Keys
Fm: David Orriss Jr(Sysop) 75300,1414
To: Jeff Winchell 76066,533 (X)
Jeff,
> > Oh, and some minor stuff: how do I get the Default Value to be a
> > function?
> >>You could do this in a method on a form.
> How about in a table view?
You can't, that's why I suggested doing it in a form.
David
#: 31454 S2/Install/CFG/HrdWare
27-May-93 23:49:33
Sb: #Pdoxwin very, very slow!
Fm: STR 76440,3422
To: All
Is it my system or is Pdox for Windows screen update speed the slowest since
Toolbook 1? I've tried Access, Foxpro and Pdoxwin and while I find the latter
the most conceptually satisfying it is impossibly slow in updating any screen
action. I am running a 386/33 w/200meg drive, 8meg ram, smartdrive, and a
permanent vitual file of 7 megs. Any and all screen access in Pdoxwin is so
slow that I can't even consider using it as a regular tool. Unless I've done
something wrong in the installation this one is going back to the store.
All advice and suggestions are welcomed before I take the big step.
* Replies: 31470, 31529, 31718, 32477
#: 31470 S2/Install/CFG/HrdWare
28-May-93 02:50:48
Sb: #31454-Pdoxwin very, very slow!
Fm: GARY HANDLEY 100271,1164
To: STR 76440,3422 (X)
STR,
I also have the same problem, although my particular appliaction uses an
enormous amount of graphics, I don't know if any system will make it run fast.
I'm displaying 960 icon-size graphics on one screen at a time. It takes 26
seconds to refresh each screen on a 486dx66 VLB with a graphics card based on
the incredibly fast Wietech P9000.
I've been working on nothing else but trying to increase the speed of the
Graphics to screen problem for two months. Unfortunately I can't give up and
must persevere or perish.
However, in my opinion P4W is not a power system when it comes to working with
graphics!
Regards,
Gary.
London.
#: 31529 S2/Install/CFG/HrdWare
28-May-93 12:06:36
Sb: #31454-#Pdoxwin very, very slow!
Fm: Dan Ehrmann (TeamB) 70007,4644
To: STR 76440,3422 (X)
STR:
(A real name would be nice! Who am I "talking" to? )
I run PdoxWin on a 386SL/25 notebook with 8 megs, and screen refresh/update is
more than acceptable.
How big is your SmartDrv disk cache (or are you even running a cache?)
Anything larger than 1 meg is a waste of resources, since at that point, you
are probably already getting a 90% hit rate and diminishing returns kick in as
you go higher.
How many other apps do you have running at the same time?
Is Paradox or your swap file being run from a LAN or locally?
[Dan -> ]
* Reply: 31660
#: 31660 S2/Install/CFG/HrdWare
28-May-93 20:54:49
Sb: #31529-#Pdoxwin very, very slow!
Fm: George 72416,3142
To: Dan Ehrmann (TeamB) 70007,4644 (X)
Sorry about the the name thing. As you can see I am answering your mail from
a different account. My office account uses the company initials instead of a
personal name.
I am running a 1.4 meg smartdrive (you are the first person to ever tell me
that a smartdrive setting can ever be too big)
I am running locally not on a net.
Depending on the complexity of a form paging from one record to the next can
take anywhere from 3-15 seconds. Way too slow to realistically flip through a
large number of records. From what I've seen Foxpro is next slowest in this
respect and Access is the fasterest (just for screen updates of this sort)
I like PAL and the interface but screen update speed is probably more
important to me than sort and index speed.
George
#: 31718 S2/Install/CFG/HrdWare
29-May-93 14:58:53
Sb: #31454-#Pdoxwin very, very slow!
Fm: Randy Magruder (Borland) 70720,663
To: STR 76440,3422 (X)
What kind of video driver/board are you running at what resolution, and how
much RAM is Smartdrv chewing up. The video subsystem
(board/driver/resolution) is the biggest hit as far as paints go.
Randy
* Reply: 31757
#: 31757 S2/Install/CFG/HrdWare
30-May-93 00:02:08
Sb: #31718-#Pdoxwin very, very slow!
Fm: STR 76440,3422
To: Randy Magruder (Borland) 70720,663 (X)
Randy, I'm running a Diamondvideo w/1meg at 800x600x256. Very fast generally.
Smartdrive is using 1.4 meg of my 8megs of ram.
George
* Reply: 31802
#: 31802 S2/Install/CFG/HrdWare
30-May-93 15:50:07
Sb: #31757-#Pdoxwin very, very slow!
Fm: Randy Magruder (Borland) 70720,663
To: STR 76440,3422 (X)
George,
Smartdrive is WAY too big for only 8 megs of memory. I'd lower it to 512K if
not remove if completely. While Paradox runs pretty well with the memory you
have now, as you start building forms of greater complexity, and developing
applications, you'll find that you want as much memory as you can get to
avoid Windows swapping things out to disk.
Also, just for kicks, try loading the stock VGA driver that came with Windows
and see if there's any performance difference.
Finally, go to Properties | Designer... and change Flicker Free draw to OFF.
What this does is prevent double buffering of video writes. When it is on,
we draw to an offscreen bitmap, and let the video board blit it onto the
screen. Depending on how your driver was engineered, you may see better or
worse performance than straight to the screen. Obviously the OFF setting
would introduce more flicker, but if your board is optimized for those
operations, it may be minimal and save the time normally required to blit the
pre-drawn images to the screen. Most windows programs will write directly to
the screen.
Randy
* Reply: 31806
#: 31806 S2/Install/CFG/HrdWare
30-May-93 15:59:27
Sb: #31802-Pdoxwin very, very slow!
Fm: STR 76440,3422
To: Randy Magruder (Borland) 70720,663 (X)
The double buffer setting makes a big difference in speed. The flicker is
anoying but not as much as the slow response of the double buffeing. Thanks.
#: 32477 S2/Install/CFG/HrdWare
02-Jun-93 12:56:42
Sb: #31454-Pdoxwin very, very slow!
Fm: James D Campbell 75720,3626
To: STR 76440,3422
It may depend on what you are doing. I open files directly and have no
performance problems. The only time I had a challenge is when I did a
directory listing of a directory with many files in it. The add button to a
folder when your current directory has many tables takes forever. I think
this might be attributed to the way P4W builds icons for each table and reads
them into memory. I did some timings to bring up a directory with lots of
files.
XTNET: 11 seconds
P4W: 1 minute 46 seconds
File Manager: 45 seconds
PDOX4(DOS): instantly
Tuning Windows can help performance as well. Also you will find increased
performance under Windows if you never scatter your screen with zillions of
Program Manager Icons and Groups. Each Icon eats up Window's resources.
Microsoft in their infinite wisdom limits the number of icon and other GUI
handles. I think there is a 64k limit for this resource. Someone else can
probably tell you more accurately.
Good Luck:
Jim Campbell
#: 31455 S1/Miscellaneous
27-May-93 23:55:36
Sb: #Auto-incrementing
Fm: David H. Goldman 70521,2105
To: [F] Tanj Bennet 70642,1211 (X)
I copied the text word for word on page 283 for having an autonumbering of
records on my form. When I go to run it, I get an error message when it gets
to method "open" (The second block, above the tip) It says "Cannot change a
built in Header." I seperated the header from the table, and it still did not
work. What am I doing wrong?
I am going away on Friday afternoon for a week. I will check my messages
before I leave, but if you have not been able to get back to me by then, I'll
speak with you when I get back.
Thank you,
David
* Reply: 31642
#: 31642 S1/Miscellaneous
28-May-93 18:01:14
Sb: #31455-Auto-incrementing
Fm: Robert Ramirez (Sysop) 76702,255
To: David H. Goldman 70521,2105
Hello David,
>Cannot change a built in Header.
This error message means that you changed the built-in header for the Method
you typed your code in. Make sure that the Action method header and the Open
method header look exactly like page 283.
~Robert
Borland Tech. Support
#: 31458 S3/Tables/TableView
28-May-93 00:15:43
Sb: #dBase format Bug in PDW?
Fm: Finlay J. Stewart 76150,2160
To: All
I recently started playing with Lotus Organizer and used the Export capability
to form a dBase table from the Calandar section to do time-charging tracking.
One of the fields selected is Duration (time in minutes) of appointments.
When opening the exported table in PDW, any values of Duration < 100 are
BLANK.
Opening a copy of the same table in QPW Database Desktop or MSAccess, using
PCTOOLS 8.0 or PCTOOLS for Windows 1.0 viewers, or importing the table into
PDOX35, all show the proper values.
If the dBase table is opened first in PDW, then the other viewing options also
show BLANK values for Duration < 100. PDW does show the proper values after
opening the PDOX35 version after importing. PDW does allow values < 100 to
be hand edited.
The PDW table structure shows Duration as [N, 3, 0]; changing the data type to
floating point has no effect. The low values are still BLANK.
Any comments?
Thanx,
Jim S.
* Reply: 31559
#: 31559 S3/Tables/TableView
28-May-93 12:55:02
Sb: #31458-dBase format Bug in PDW?
Fm: David Orriss Jr(Sysop) 75300,1414
To: Finlay J. Stewart 76150,2160 (X)
Finlay,
I'll look into it at this end. In the mean time, let's try and at least get
you your data. You can do one of two things:
1) Export the data from Lotus Organizer to ASCII, then import it into Paradox
for Windows.
or
2) Take the DBF file from Lotus Organizer and use File|Utilities|Copy to copy
it to a DB file. This will translate the data to Paradox format.
Hope this helps.
David
#: 31459 S4/Forms
28-May-93 00:15:46
Sb: #Multi-table edits
Fm: Finlay J. Stewart 76150,2160
To: All
I seem to be missing something, probably simple, but how do you set up a
multi-page, multi-table form so that you can edit data in CHILD1 and CHILD2
tables which are both linked 1-->1 with PARENT, all using a common key value?
Thanx,
Jim S.
* Reply: 31502
#: 31502 S4/Forms
28-May-93 10:23:07
Sb: #31459-Multi-table edits
Fm: Bill Todd (Kallista) 75046,1345
To: Finlay J. Stewart 76150,2160 (X)
To be able to edit the child tables you must right click on them in the data
model dialog and uncheck the Read Only property.
Bill
#: 31463 S4/Forms
28-May-93 01:02:11
Sb: #Scrolling
Fm: Terry Moriarty 71310,2172
To: Sysop (X)
I have a form with 2 tableframes on it which scroll. For some reason, the
form doesn't display the list of records from the first one. I have to scroll
up to see the first record. Often, the screen comes up with the list blank.
I spent quite a bit of time debugging before I decided to try scrolling up.
The records were all there.
How do I get the list to display from the first record when the form opens?
Also, I've noticed that the scroll bar for vertical scrolling doesn't
accurately represent where you are in the record list. In fact, some times
the scroll bar is sized the full length of the frame, which normally indicates
that all records are displayed and you can't scroll. But there are more
records and I can scroll by clicking on the single step arrows, but not by
using the scroll bar.
I'm only displaying three records at a time. Maybe the frame is too small for
the graphics to work right?
Thanks
* Reply: 31487
#: 31487 S4/Forms
28-May-93 08:48:26
Sb: #31463-Scrolling
Fm: Tim Colling (TeamB) 70007,4655
To: Terry Moriarty 71310,2172 (X)
Terry -
Sounds like you're doing something in some open() method that is srolling
that first tableframe to the last record. Try this in the tableframe's
open method:
method open(var eventInfo Event)
doDefault
;any other code that you currently have added here
;would go next, and then the next statement should get the
;tf scrolled back up to the first record
self.action(dataBegin)
endMethod
Tim
#: 31468 S2/Install/CFG/HrdWare
28-May-93 01:56:35
Sb: #PDOXW and DOS 6.0
Fm: Junhyong Kim 76114,1240
To: ALL
Help! I just installed DOS 6.0 with DBLSPACE and now my PDOXW doesn't work! I
can run the program and I get to the usual menu, but if I try to open a form
or a table I get a blank window. The outline of the window is there but
nothing else. If I click around inside the box the various objects appear
where I click. Does anybody know what is happening?
I am running a Gateway2000 486-33SX with ATI ULTRA PRO at 1024X768. Nothing
else fancy except for the DBLSPACE thing.
* Reply: 31584
#: 31584 S2/Install/CFG/HrdWare
28-May-93 13:49:21
Sb: #31468-#PDOXW and DOS 6.0
Fm: Brian Bushay (TeamB) 76711,516
To: Junhyong Kim 76114,1240 (X)
Junhyong
>Help! I just installed DOS 6.0 with DBLSPACE and now my PDOXW doesn't work! I
Make sure your Windows Swap file is on a drive that is not compressed by
DBLSPACE
Brian
* Reply: 31673
#: 31673 S2/Install/CFG/HrdWare
29-May-93 01:06:25
Sb: #31584-#PDOXW and DOS 6.0
Fm: Junhyong Kim 76114,1240
To: Brian Bushay (TeamB) 76711,516 (X)
Thanks Brian and everybody for the quick response.
As usual I found the problem after I already yelled for help. After about two
hours of debugging I found things improved a little by little as I deleted
more things from high mem and especially when I went to standard mode. At that
point I was at about 4 megs mem. Then I realized I should have more from
virtual mem. I checked the virtual mem settings and found that it had been set
to zero after DBLSPACE install. I originally had a temp swap file and the
default installation of DBLSPACE didn't leave enough room on the uncompressed
drive for the swap file and Windows seems to have just set it to zero. Perhaps
others should be aware of this possibility.
I am shocked at how much resources PDOXWIN uses, no other program had problems
and I didn't notice this problem. It is also kind of strange way of reacting
to dimishing resources. Shouldn't the program check for available mem before
allocating them?
Junhyong
* Reply: 31708
#: 31708 S2/Install/CFG/HrdWare
29-May-93 12:49:06
Sb: #31673-#PDOXW and DOS 6.0
Fm: Brian Bushay (TeamB) 76711,516
To: Junhyong Kim 76114,1240 (X)
Junhyong
>default installation of DBLSPACE didn't leave enough room on the uncompressed
>drive for the swap file and Windows seems to have just set it to zero. Perhaps
>others should be aware of this possibility.
Thanks for that tip
>I am shocked at how much resources PDOXWIN uses, no other program had problems
PdoxWin does use more resources than other programs but Databases are a
great deal more complex than other applications. PdoxWin is a very tight
fit on a 4 meg machine. In order to have any kind or reasonable performance
you will need to have a permanent swap file of 4-6 meg (Temporary swap files
don't cut it) The perminant swap file needs to be on an uncompressed drive.
And you need to make sure that SmartDrv.exe has a cache size
no larger than 256K.
Brian
#: 32349 S2/Install/CFG/HrdWare
01-Jun-93 23:15:10
Sb: #31996-#PDOXW and DOS 6.0
Fm: Andy Spears 70143,1152
To: Brian Bushay (TeamB) 76711,516 (X)
Thanks. Would your recommendation be different knowing that I have 8 meg on
my machine?
Andy S.
* Reply: 32378
#: 32378 S2/Install/CFG/HrdWare
02-Jun-93 02:24:40
Sb: #32349-#PDOXW and DOS 6.0
Fm: Brian Bushay (TeamB) 76711,516
To: Andy Spears 70143,1152 (X)
Andy
>Thanks. Would your recommendation be different knowing that I have 8 meg on
>my machine?
With 8 meg I would go up to one meg of cache.
Brian
#: 31471 S1/Miscellaneous
28-May-93 03:24:52
Sb: #Organizer
Fm: Frank H. Ewing 71562,3537
To: Dan Ehrmann (TeamB) 70007,4644 (X)
Dan:
All went very well, but I do have one other question. Does the .DBF
format--once created--act as a backup file for the DB. In other words when you
edit a table does this automatically edit the .DBF file as well? Thanks
again.
Frank
* Reply: 31525
#: 31525 S1/Miscellaneous
28-May-93 12:06:15
Sb: #31471-#Organizer
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Frank H. Ewing 71562,3537 (X)
Frank:
Once you make the copy, the .DBF and .DB files are separate and distinct. No
linkage, no auto updating.
[Dan -> ]
#: 31473 S4/Forms
28-May-93 03:40:22
Sb: #Passing Values in Forms
Fm: GARY HANDLEY 100271,1164
To: All
Hello All,
Does anyone know a way to pass values between forms without using libraries or
explicit dot notation?
Scenario
--------
In form1 user tries to fill in customer id, it's not in lookup table so an
info box suggests user presses [New Customer] button. When user presses it
custForm comes up and he fills in information. When user closes the form I
want to insert the new customer id in the field on form1 automatically.
Is it possible to pass this value back in the close() command, and if so how
do I retrieve it once it's sent back?
Thanks in advance,
Gary.
London
* Replies: 31486, 31533, 32041
#: 31486 S4/Forms
28-May-93 08:48:22
Sb: #31473-#Passing Values in Forms
Fm: Tim Colling (TeamB) 70007,4655
To: GARY HANDLEY 100271,1164 (X)
Gary -
If the second form is in a wait(), you can use formReturn().
Tim
#: 31533 S4/Forms
28-May-93 12:06:56
Sb: #31473-Passing Values in Forms
Fm: Dan Ehrmann (TeamB) 70007,4644
To: GARY HANDLEY 100271,1164 (X)
Gary, there are a few alternatives:
Set up a global variable in the library, then use 2 custom methods in the
library to read and write this variable.
Use a single-field, single-record table to hold the value and open/close a
TCursor on that table. It's faster than you think.
Don't close the second form, just hide it. Then you can explicitly reference
a variable on that form since it's still open.
[Dan -> ]
#: 32041 S4/Forms
01-Jun-93 10:01:14
Sb: #31473-#Passing Values in Forms
Fm: Rick Fillman (Sysop) 76702,273
To: GARY HANDLEY 100271,1164 (X)
> Does anyone know a way to pass values between forms without using
> libraries or explicit dot notation?
You can directly address field objects between forms, much as if they are
variables.
FormVariable.UIojectName.value = <new value>
The above writes a value to the display object in the other form.
MyVar = FormVariable.UIobjectName.value
The above reads a value from a display object in another form.
In both of the above, the FormVariable servers as a "handle" or a pointer
to the other form.
Hope this helps.
Rick Fillman, Tech Support (Borland)
#: 31477 S4/Forms
28-May-93 06:19:36
Sb: #field.moveTo()
Fm: GARY HANDLEY 100271,1164
To: All
Hello All,
Has anyone had any problems with the moveTo() command? In the open method for
my form I get the user to input certain values in a box, then make that box
invisible. The values input fill most of the form in so I then want to moveTo
a field halfway down the form. The cursor actually moves there but then
immediately moves to the first field in the form. Does anybody know why this
happens?
Thanks
Gary.
* Replies: 31490, 31534
#: 31490 S4/Forms
28-May-93 09:06:15
Sb: #31477-#field.moveTo()
Fm: Ryan Marcotte 71241,2037
To: GARY HANDLEY 100271,1164 (X)
Hi Gary, Have you tried DISABLEDEFAULT before your moveto()? If you are using
the tab key, the default action is to move to the next field. Hope this helps.
-Ryan
#: 31534 S4/Forms
28-May-93 12:07:00
Sb: #31477-#field.moveTo()
Fm: Dan Ehrmann (TeamB) 70007,4644
To: GARY HANDLEY 100271,1164 (X)
Gary:
Be careful putting code on the open() method of a form, since your code may
execute before the form is fully opened.
Be sure to place a "doDefault" before your custom code, so that the form is
completely opened. Alternatively, place your code in the arrive() or
setFocus() methods of the form, which trigger after the form has opened.
[Dan -> ]
#: 31482 S1/Miscellaneous
28-May-93 08:32:57
Sb: #Counter field
Fm: Ulrich Zindler 100271,313
To: Mac Nelson 73777,3374 (X)
High Mac,
there is a much more easy way, then described in msg #30174.
just change the action-method for your form/table recieving <DATAINSERTRECORD>
(inserting) and <DATARRIVERECORD and self.BlankRecord = True> (appending).
If recieving such a eveninfo,.id() you can create your own incremented primary
key by <open> a TCurosr to the same
table (open NOT attach, 'cause otheways you wouldn't get the prim index)
moting to eot() adiing 1 and replacing primary index field(s) by the result of
this eymaple:
form/table::actionevent method()
var
ui UIObject
tc TCursor
keyval LongInt ; assuming you have a
numric/alpha prim. key
flds Array[] String
endvar
if isEdit() then
tc.open(<your table>) ; preliminaries
tc.enumFlds(flds) ; only if
FORM::action, could take place elsewhere
eventinfo.gettarget(ui) ; -- "" --
if flds.contains(ui.name) then ; -- "" --
if eventinfo.id() = DataInsertRecord OR
(eventinfo.id() = DataArriveRecord AND
self.Blankrecord) then
tc.end()
if tc.eot() AND tc.bot() then ;
table emtpy ?
keyVal = 1 ; key = 1
else
keyVal = LongInt(<your keyfield>) +1
; increment
endif
; various actions to privide coorect type of
keyVal for
; coming replace action
dodefault ;
IMPORTANT AT THIS PLACE !
self.<your keyfield> = <right typed keyVal>
endif
endif
hope, this will help you (can also be put intio a lib routine, but NOT teh
"dodefault"-statement !).
bye UZ
tc.close() ;
don't forget !!
* Reply: 31717
#: 31717 S1/Miscellaneous
29-May-93 14:58:49
Sb: #31482-Counter field
Fm: Randy Magruder (Borland) 70720,663
To: Ulrich Zindler 100271,313 (X)
Ulrich,
There's one thing you didn't consider in ObjectPAL, and this is a KILLER in a
multi-user environment. DataArriveRecord happens not only when YOU arrive to
a record, but when ObjectPAL does Network refreshses or unlocks on your
record. If you *must* use dataArriveRecord (I try to avoid it), check for
record.Refresh....make sure it isn't true or you'll have serious problems
once lots of users start pounding on the system. You'll be getting into a
state where blankRecord is true, and arriveRecord is true, but the arrive
record was not caused by you, but by a network refresh!
Randy
#: 31488 S1/Miscellaneous
28-May-93 08:57:42
Sb: #Objevt Vision
Fm: Napier University 100034,1645
To: sysops (X)
I am having difficulty in creating Paradox files in Object Vision using the
4.0 locking protocol that are compatible with Paradox for Windows. When such
files are created under the UK International settings in Windows, Paradox for
Windows displays the following error messages:-
"Unable to open table"
"Could not find language driver."
when trying to open these newly created tables.
However, this problem seems to disappear when such files are created under the
US International settings in Windows.
Please can anyone help...?
Thanks.
* Reply: 31643
#: 31643 S1/Miscellaneous
28-May-93 18:01:16
Sb: #31488-Objevt Vision
Fm: Robert Ramirez (Sysop) 76702,255
To: Napier University 100034,1645
Hello Napier,
Make sure that you open up the Pdoxwin Odapi Configuration Utility and change
the System Langurage Driver to "Paradox intl" and the Paradox Language Driver
settings to "Paradox int".
~Robert
Borland Tech. Support
#: 31492 S1/Miscellaneous
28-May-93 09:14:22
Sb: #31382-#Windows NT
Fm: Fernando Santos 70042,1274
To: Weylan Wang -(Sysop)- 76702,1067 (X)
"See microsoft they have a statement that if it doesn't work and it is Windows
3.1 compatible, they have said that it is their fault."
Does that means it will work if Microsoft fixes NT or does that means a new
PDOXWIN version will fix it (or even better: it is possible to run under some
circunstances)?
I'm a little concerned about this because I want our systems to move to NT and
just a few days ago we decided to start porting our data and our software to
PDOXWIN and ObjectPAL.
Fernando
* Replies: 32285, 32841
#: 32285 S1/Miscellaneous
01-Jun-93 19:04:56
Sb: #31492-Windows NT
Fm: Weylan Wang -(Sysop)- 76702,1067
To: Fernando Santos 70042,1274 (X)
Microsoft should be fixing their product if Paradox doesn't work with NT.
They are saying that if it doesn't work in what you were given and it was a
win 3.1 app, it should work. If it does not, they need to fix NT so that it
should.
-(Weylan Wang)-
-(Borland Paradox Technical Support)-
#: 32841 S1/Miscellaneous
03-Jun-93 15:45:19
Sb: #31492-Windows NT
Fm: \John G. Wingfield 70253,3163
To: Fernando Santos 70042,1274
Fernando,
PMFJI. According to a report in PCWEEK from 3 weeks back, Borland
plans to start recompiling their products to take advantage of the Windows NT
32 bit system. These 32 bit versions will start to appear in a few months,
starting with languages first (C++, Pascal, etc.) and then applications. The
report was based on information supplied by "official" spokespersons at
Borland. The article also indicated Paradox would likely be the first
application recompiled as a 32 bit application as opposed to its current 16
bit form.
#: 31500 S1/Miscellaneous
28-May-93 10:02:36
Sb: #Import fixed len ASCII
Fm: Christine Burns 100111,2453
To: All
Please can someone help :
I KNOW there's a facility for importing a table from a fixed length
undelimited ASCII file in PdoxWin ... but I need to do this in the Paradox 3.5
/4.0 environment as well unfortunately. I vaguely remember there being a
utility avaialble for this, but that's ALL I can remember (and I could be
getting confused with FLIC in Forest and Trees).
Can anyone please point me in the right direction so that I don't have to
write a program to reformat the stuff into delimited form ?
Regards
Christine Burns
* Reply: 31742
#: 31742 S1/Miscellaneous
29-May-93 22:29:14
Sb: #31500-#Import fixed len ASCII
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Christine Burns 100111,2453 (X)
Christine:
Borland used to provide FLIMPORT (Fixed Length Import) with Paradox 3.X. It
was not updated for Paradox 4.0/PdoxWin.
You can download it from this forum as FLIMPO.ZIP and import your data into a
3.X table, then copy or query that file into a PdoxWin table.
Alternatively, you might consider Kallista's CONDUIT utility, which fully
supports Pdox 4.0/Win tables and is about 14 times faster than FLIMPORT for
comparable operations. If you want more information via EMail, just let me
know. Or call 312-663-0101.
[Dan -> Kallista]
#: 31508 S4/Forms
28-May-93 10:47:23
Sb: #Centering objects
Fm: John Marchioli 71333,622
To: Technical Support
Could someone please tell me how to center a container object on a form
(during design time -interactively).
John
* Replies: 31619, 31747
#: 31619 S4/Forms
28-May-93 16:15:53
Sb: #31508-Centering objects
Fm: Quinn Wildman (Sysop) 76703,3033
To: John Marchioli 71333,622 (X)
>Could someone please tell me how to center a container object on a form
>(during design time -interactively).
The only type of container object you can center is text within a button. If
you have multiple object, you can align then center - relative to each other.
#: 31747 S4/Forms
29-May-93 22:29:39
Sb: #31508-Centering objects
Fm: Dan Ehrmann (TeamB) 70007,4644
To: John Marchioli 71333,622 (X)
John:
>> Could someone please tell me how to center a container object on a form
>> (during design time -interactively).
The simplest technique is to turn on the Horizontal Ruler, then grab the
object and move it so that the middle "handle" is in line with the middle
measurement on the speedbar.
[Dan -> ]
#: 31513 S3/Tables/TableView
28-May-93 11:12:51
Sb: #Default means default?
Fm: David Orriss Jr(Sysop) 75300,1414
To: Dick Reuben 73767,3655 (X)
Dick,
Try these things:
1) In File Manager, search for all occurances of PDOXWIN.INI. Delete all
of them BUT the one in your \PDOXWIN directory.
2) Go into 'Change program item properties' in the Program Manager and
verify that there are *no* command-line options being used.
3) Make sure your \PDOXWIN\PDOXWIN.INI file is not set to read-only (this
one may be a little obvious sounding, but check anyway).
Let me know what happens.
David
* Reply: 32496
#: 32496 S3/Tables/TableView
02-Jun-93 14:29:17
Sb: #31513-#Default means default?
Fm: Dick Reuben 73767,3655
To: David Orriss Jr(Sysop) 75300,1414 (X)
I've been out of town for a week, so to refresh your memory, here's your
last message---it related to the fact that my Opal level won't stick on
Advanced:
------------------------
Dick,
Try these things:
1) In File Manager, search for all occurances of PDOXWIN.INI. Delete all
of them BUT the one in your \PDOXWIN directory.
2) Go into 'Change program item properties' in the Program Manager and
verify that there are *no* command-line options being used.
3) Make sure your \PDOXWIN\PDOXWIN.INI file is not set to read-only (this
one may be a little obvious sounding, but check anyway).
Let me know what happens.
---------------------
David, I've tried all of the above. I'd been using -f and -c on the command
line, but eliminating those made no difference. I load PDW, change the level
to Advanced; exit PDW and come back in again, and level is back at Beginner.
In addition, if I delete Pdoxwin.ini from \Windows, a new one is created
there the next time that I load the program, and then I have two. 'Course
both of them show Level = Advance....
Dick
* Reply: 32753
#: 32753 S3/Tables/TableView
03-Jun-93 12:59:24
Sb: #32496-Default means default?
Fm: David Orriss Jr(Sysop) 75300,1414
To: Dick Reuben 73767,3655 (X)
Dick,
Have you tried adding the command line option "-i c:\win\pdoxwin.ini" to
your Program Item Properties?
David
#: 31519 S4/Forms
28-May-93 11:37:56
Sb: #CtrlZ/Locate problem
Fm: David Segal 76545,1730
To: Sysop (X)
I have a table with two key fields, and a form in which this table appears in
a table frame. The key fields are Cust and Ord. I use order/range to restrict
my view to a single customer's records. I then find that Ctrl-Z doesn't work
on the Ord field. For that matter, neither does oPal's Locate command.
Would you like to see my test data for this?
-- David
* Reply: 31620
#: 31620 S4/Forms
28-May-93 16:15:56
Sb: #31519-#CtrlZ/Locate problem
Fm: Quinn Wildman (Sysop) 76703,3033
To: David Segal 76545,1730 (X)
When you do a locate, it operates on the current set of records. In that
you've done a Order/Range to select a single customer, only that customer can
be found. So, what you need to is do an order/range to select all records
before doing control-z.
* Reply: 31654
#: 31654 S4/Forms
28-May-93 19:39:53
Sb: #31620-#CtrlZ/Locate problem
Fm: David Segal 76545,1730
To: Quinn Wildman (Sysop) 76703,3033 (X)
Quinn,
I think I'm not getting my point across. Try the following, using Paradox
interactively, and you will see what I mean:
1. Create this table. Make BOTH fields keyed:
Cust Ord
----- -----
A 1
A 2
B 1
B 2
B 3
B 4
2. Place it in a table frame on a form.
3. Go to the data model and set order/range to limit the current set of
records to just customer B.
4. Now, run the form. You should see the four records for customer B.
5. Move to the Ord field. Do a Ctrl-Z and search for order 1, 2, or 3.
Instead of finding any of them, the cursor will end up on order 4.
If you test this and don't find a problem, I can upload my sample table on
which you will see the problem that I'm getting. Meanwhile, thanks for the
response.
-- David
* Reply: 32160
#: 32160 S4/Forms
01-Jun-93 15:48:23
Sb: #31654-#CtrlZ/Locate problem
Fm: Rick Fillman (Sysop) 76702,273
To: David Segal 76545,1730 (X)
I followed your steps (message 31654) and I don't see any
problem. Have you tried the same steps FROM SCRATCH? Using a
brand new table and brand new form?
If you try (again) from scratch, and you STILL have the, then
upload that version to me.
Better yet .. look in your CIS E-mail. I'm sending you a tiny
ZIP file that show the results of my following your step. Let me
know how the Ctrl-Z works with thatWhichIHaveSentYou.
Rick Fillman, Tech Support (Borland)
* Reply: 32596
#: 32596 S4/Forms
02-Jun-93 21:19:56
Sb: #32160-CtrlZ/Locate problem
Fm: David Segal 76545,1730
To: Rick Fillman (Sysop) 76702,273 (X)
Rick,
I received the sample table and form you sent me. When I worked with it I
noticed you did things a bit different than me, and in the process you
resolved my problem.
However, there is still a minor glitch which you might want to investigate. It
shows up when you use a range, as I did. To see it, set order/range in the
Test form you sent me to the Cust *range* of B to B. Then you should see the
problem I ran into with Ctrl-Z in the Ord field.
Thanks for your help.
-- David
#: 31520 S4/Forms
28-May-93 11:41:59
Sb: #Pdoxwin & custom methods
Fm: Conrad Larkin 70760,3530
To: all
Q1: Is there an event that is triggered when a
hidden form is redisplayed using Form.BringtoTop()?
Q2: After opening a form, how can a custom method on
that form be run prior to issuing a Form.wait()?
(The custom method is attached at the form level)
* Reply: 31568
#: 31568 S4/Forms
28-May-93 13:37:33
Sb: #31520-#Pdoxwin & custom methods
Fm: Bill Todd (Kallista) 75046,1345
To: Conrad Larkin 70760,3530 (X)
Conrad,
Q1. I have not tried this with a hidden form and bring to top but you should
get a setFocus event.
Q2. How about:
f.open("myForm") f.myMethod() f.wait()
Bill
#: 31531 S3/Tables/TableView
28-May-93 12:06:47
Sb: Print file structures?
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Peter Tosto 70751,1140
Peter:
Many people feel the same way as you do that the tools built into PdoxWin to
document applications, tables, etc. are inadequate.
I know of at least 6 companies working on documentation addin tools, many of
which should be available in the next 3-4 months. Perhaps you can get
involved in someone's beta test. Until then, you may be SOL.
Alternatively, it probably won't take too much effort to create some simple
tools yourself. ObjectPAL contains a number of "enum...()" methods which dump
details about objects, tables, indexes, etc. to arrays which can then be
written to tables. A reasonably proficient ObjectPAL programmer could put
some basic tools, without the fancy UI and error checking necessary for a
commercial app, in a couple of days work.
[Dan -> ]
#: 31548 S1/Miscellaneous
28-May-93 12:37:23
Sb: Delivering a system
Fm: Glenn Jones [PIC] 76244,402
To: Jane Holloway 72557,540 (X)
Jane:
Regarding your problem with ODAPI being busy, this is a problem that will
occur whenever PFW chokes on a GP. The only way around the problem right now
is to leave and restart Windows. You shouldn't have to reboot your PC.
#: 31552 S1/Miscellaneous
28-May-93 12:50:25
Sb: #Delivering a system
Fm: Steve Neverve (Sysop) 71333,114
To: Jane Holloway 72557,540 (X)
Jane,
You will not need to reinstall. Here's what's happening. GPF's are caused by
memory conflicts; they are memory errors. Once you receive a GPF, Windows
will be unstable. Therefore, you must exit Windows and restart Windows.
This is why you are getting the "directory is busy" error.
Try adding:
EMMEXCLUDE=A000-C7FF
to the 386Enh section of the users System.INI. If this does not solve the
problem, remove all memory resident programs. Finally, refer to TI1283.ZIP
in LIB1 for information on simplifying your Windows system.
Steve
* Reply: 31811
#: 31811 S1/Miscellaneous
30-May-93 16:32:35
Sb: #31552-#Delivering a system
Fm: David Hayes 74740,2547
To: Steve Neverve (Sysop) 71333,114 (X)
Steve,
In your reply to Jane about some General Protection Faults you gave her this
fix:
EMMEXCLUDE=A000-C7FF
To be added to her system.ini.
I too am getting some GPF's having to do with my USER.EXE file..
Is this a standard fix that might help my machine?
Dave.
* Reply: 32136
#: 32136 S1/Miscellaneous
01-Jun-93 15:07:53
Sb: #31811-Delivering a system
Fm: Steve Neverve (Sysop) 71333,114
To: David Hayes 74740,2547 (X)
David,
"EMMEXCLUDE=" is a parameter that you can add to exclude memory in your
System.ini. The A000-C7FF is a generic range that should be used only when
you do not know the range the your video drivers use. Oh ya, yes, you can
use this. You may also want to refer to TI1283.ZIP in LIB1 for more
information on simplifying your system. You can find more info on
EMMEXCLUDE in you Windows 3.1 User's Guide.
Steve
#: 31564 S3/Tables/TableView
28-May-93 13:21:54
Sb: #slow locates?
Fm: Robert Larson 71075,1366
To: all
I'm in the process of switching over to PW from 4.0. In 4.0 I've enjoyed being
able to switch into a secondary index view of a table and Zoom instananeously
to any record. Now when I try the same function in PW its slow. Very slow.
Instead of instantly jumping to a record it takes almost 10 seconds. I used
Order/Range to view the table by my secondary index. It feels like Paradox
isn't using the index but rather doing a sequential search. Did I miss a step?
I've tried restructuring the table. I've also noticed I have the same problem
Locating in my primary index field. What's up? Is this just a feature that
wasn't done well in PW? Help. thnx.
robert
* Reply: 32096
#: 32096 S3/Tables/TableView
01-Jun-93 12:47:52
Sb: #31564-#slow locates?
Fm: David Orriss Jr(Sysop) 75300,1414
To: Robert Larson 71075,1366 (X)
Robert,
Use Set Order/Range or SetFilter. These will use the secondary index.
Hope this helps.
David
* Reply: 32435
#: 32435 S3/Tables/TableView
02-Jun-93 11:00:27
Sb: #32096-#slow locates?
Fm: Robert Larson 71075,1366
To: David Orriss Jr(Sysop) 75300,1414 (X)
<< Use Set Order/Range or SetFilter. These will use the secondary index. >>
uh..huh.....now what? it still goes slow. When I do ALT-S on a field in
Pdox4.0 and then do a Ctrl-Z to a value in a 8000 record table, Pdox4.0
INSTANTLY goes to the record. Blink of an eye. No time at all.
When I do the same thing in PW it takes about 10 seconds to go to a value.
What is up??
Robert
* Replies: 32457, 32462
#: 32457 S3/Tables/TableView
02-Jun-93 12:21:45
Sb: #32435-slow locates?
Fm: David Orriss Jr(Sysop) 75300,1414
To: Robert Larson 71075,1366
Robert,
Perhaps I wasn't clear on that. If you want to locate a specific value in
a field quickly, view the table. Then from the Table menu select
"Order/Range". Next, select the Secondary Index you want to use from the
"Index" list. Then, type in the value you want to locate in the "Field
Values" prompt. This will find the value almost instantly.
David
#: 32462 S3/Tables/TableView
02-Jun-93 12:22:41
Sb: #32435-slow locates?
Fm: Brian Bushay (TeamB) 76711,516
To: Robert Larson 71075,1366
Robert
>When I do the same thing in PW it takes about 10 seconds to go to a value.
>What is up??
Unfortunately PdoxWin does not use indexes for locates/Zooms on values with
trailing wild cards. If your using Exact values then make sure you have the
case sensitive box check if your indexes are case sensitive.
As David indicated in his original message if you use and Order/Range
instead of a Zoom/Locate you will go right to the value using the index
Brian
#: 31585 S1/Miscellaneous
28-May-93 14:00:45
Sb: #Slow operation
Fm: Wayne Orth 70274,2771
To: Sysop (X)
(Because I didn't get a response to my first posting on Wed, I
am submitting this same message a second time in hopes of a
response of some kind.)
----------------------------
Dear Borland,
We have recently received Paradox for Windows and I have a few
questions. We bought PFW because we figured that a real Windows
database would be better than a DOS database running in a DOS
box within Windows. We currently have Paradox 4.0 for DOS.
However, even on an 8MB 386SX, a simple query of a 1200 record
table takes about 1 minute, while with PDOX40, it takes 10 sec.
If performance is going to be this much worse, then this won't be
acceptable for us. We are running PFW from a Netware 3.11 server,
while each PC has its own copy of Windows 3.1. Is it because we
run this from the server that it acts so slow? The 8MB PC has the
ODAPI min buffer set to 2048 and max buffer set to 6144. I have
optimized as much as I can using other messages on here as well as
TechFax Document 1281. Unlike others, we do not seem to have any
problems with GPF's or starting problems.
Any help would be greatly appreciated.
Sincerely,
Wayne Orth
Frontier Technologies Corp.
* Replies: 31678, 31743, 32103
#: 31678 S1/Miscellaneous
29-May-93 04:19:48
Sb: #31585-Slow operation
Fm: Richard Wagner (TeamB) 71333,2031
To: Wayne Orth 70274,2771 (X)
Wayne,
Others may jump in with some additional info, but let me offer some comments.
First, PdoxDOS will generally perform faster on many operations, such as
queries. I would add, however, that this performance difference is enhanced
when you run Pdoxwin on a 386SX (as compared to a 486). Pdoxwin is a great and
powerful DBMS but it does demand more hardware power than its DOS counterpart.
Second, running Pdoxwin off the network is slower than if it is installed on a
local hard drive.
Richard Wagner
#: 31743 S1/Miscellaneous
29-May-93 22:29:18
Sb: #31585-Slow operation
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Wayne Orth 70274,2771
Wayne:
In addition to Richard's reply, make sure you have a maintained secondary
index on the fields used for exact match selection criteria.
[Dan -> ]
#: 32103 S1/Miscellaneous
01-Jun-93 13:06:18
Sb: #31585-#Slow operation
Fm: Brian Reed (Sysop) 71333,2360
To: Wayne Orth 70274,2771
Wayne,
Sorry about losing you in the shuffle. Yes, Paradox is going to run slower
when running it from the server. If you have room I'd recommend installing it
to a local drive. Also, try dropping the max buffer to 4096.
Brian Reed (sysop)
* Reply: 32710
#: 32710 S1/Miscellaneous
03-Jun-93 10:35:41
Sb: #32103-Slow operation
Fm: Weylan Wang -(Sysop)- 76702,1067
To: Brian Reed (Sysop) 71333,2360 (X)
Also try moving the private directory to the local system if you have the disk
space. That can speed up systems also.
-(Weylan Wang)-
-(Borland Paradox Technical Support)-
#: 31605 S3/Tables/TableView
28-May-93 15:16:08
Sb: #Cannot create struct.db
Fm: Will Estes 74776,3676
To: SYSOP (X)
I am having problems restructuring a table. I go to
do a restructure and I get the message:
"Cannot create struct.db"
This is not a real informative message. I gather the
real issue is that Paradox is trying to copy the table
to a temporary location where it does the restructure
and then copies it back to the original directory.
Where does Paradox copy the table? So far two calls
to 408-461-9166 resulted in two different answers.
One technician told me the table was copied to the
directory pointed to by the TEMP environment variable.
Another technician told me it gets copied to the PDOXWIN
:PRIV: directory. Which is it?
What are other possible causes of the "Cannot create
struct.db" message. The table in question is small.
Note that other tables in the application restructure without
a problem, so it seems to be specific to this table.
Thanks,
Will
* Reply: 31637
#: 31637 S3/Tables/TableView
28-May-93 17:28:17
Sb: #31605-#Cannot create struct.db
Fm: Will Estes 74776,3676
To: Will Estes 74776,3676 (X)
As a follow-up to my own message, the machine on which I get the
"cannot create struct.db" message has 26 megs available in
the temp directory and 189 megs available on the network
disk where the :PRIV: directory is stored. The table I am
trying to restructure is only about 20K in size, and the entire
set of 20 tables in this database system amounts to less than
three megs. So I don't think it is strictly a space shortage
problem.
Note #2: When I take this identical set of tables over to
my machine (in a different office on a different network),
I am able to restructure the table in question without
a problem.
Suggestions on why I am getting the error message and how to
work around it on the machine were I get that error message?
Thanks,
Will
* Reply: 31680
#: 31680 S3/Tables/TableView
29-May-93 04:19:58
Sb: #31637-#Cannot create struct.db
Fm: Richard Wagner (TeamB) 71333,2031
To: Will Estes 74776,3676 (X)
Will,
One possible idea...
Are you certain that your PRIV directory on the network is *yours* alone? If
someone else has that directory set as their PRIV directory, then you would be
unable to use it as your PRIV dir. In that case, you would probably get that
message, because it creates the STRUCT.DB in your PRIV dir.
Richard Wagner
* Reply: 31988
#: 31988 S3/Tables/TableView
31-May-93 22:07:48
Sb: #31680-#Cannot create struct.db
Fm: Will Estes 74776,3676
To: Richard Wagner (TeamB) 71333,2031 (X)
Hi Richard. I didn't really understand your question regarding
the :PRIV: directory really being mine alone. The directory
in on Novell, and no one else except someone logged in as me
would have access to it. I was not logged in twice, and I just
verified this another time.
However, I tried to log in twice, and when I do, both of those
accounts have read/write access to that directory. Of course
you would expect that from a Novell shared disk, right?
Why would having another user accessing that directory prevent
me from creating struct.db?
Thanks,
Will
* Reply: 32004
#: 32004 S3/Tables/TableView
31-May-93 23:40:08
Sb: #31988-#Cannot create struct.db
Fm: Richard Wagner (TeamB) 71333,2031
To: Will Estes 74776,3676 (X)
Will,
Paradox requires that each user have a unique private directory to store such
things as answer tables, etc. It must be unique -- otherwise what would happen
if two users had the same private directory and tried to run a query at the
same time. Since Pdox puts the query results in :PRIV:ANSWER.DB, one of the
user's answer table would be overwritten by the other. This is but a single
example, but I hope it does make evident the need for each user to have a
unique private directory.
If two people have the same directory marked as private, the first user to run
Pdoxwin gets that directory. The other user is not able to use it as a private
directory (because Pdoxwin enforces this). As a result, you could potentially
get that error message stating that it cannot create that file in that
directory.
Richard Wagner
* Reply: 32120
#: 32120 S3/Tables/TableView
01-Jun-93 14:35:28
Sb: #32004-Cannot create struct.db
Fm: Will Estes 74776,3676
To: Richard Wagner (TeamB) 71333,2031 (X)
Ah, okay, but in this case the problem is two users trying
to both run Paradox using the same private directory, and not
two users simply having access to the same private directory.
In any case, this is not the problem because I have verified
that I get this message whether or not there are two users
logged into Netware with the same userid.
Will
#: 31627 S1/Miscellaneous
28-May-93 16:53:07
Sb: #Large DBF Files
Fm: Ray Hagstrom 72060,1443
To: Sysop (X)
I am having a hard time getting proper access to certain large *.DBF files
from the Bureau of the Census. The files load and display fine, but queries
are flaky. The simplests query, for instance to find all occurences of a
specific
numerical value in an integer field fails, even though there is a perfect
match
among the first dozen records. The search for the identical value always
seems to suceed, producing dozens of successful matches, including the one at
the top of the file.
The file in question is on the largish size (about 25MB) and, although it
originates on a CD-ROM, the query does not succeed when the file is copied
onto a hard disk, either.
This failure is threatening a possible installation at multiple sites for a
largish hamburger retailer headquartered near Chicago.
* Reply: 32140
#: 32140 S1/Miscellaneous
01-Jun-93 15:08:13
Sb: #31627-Large DBF Files
Fm: Steve Neverve (Sysop) 71333,114
To: Ray Hagstrom 72060,1443
Ray,
Please post in the proper section in the future to ensure that quickest
possible response. Section 6 is dedicated to queries and is supported by
query experts. Please read section 6 for a response.
Your post says that a search for identical values succeeds. It then states
that you query fails when you search for a particular value. Can you
explain in a little more detail. Do you have any fields checked? Does the
value that you are searching for exist for each checked field. Was this file
created in dBASE? Try coping the table to a .DB file (File | Utilities |
Copy | From and specify your .DBF file. Now, choose To and specify TEST.DB.
Test will be the new table name. You can give it a different name if you
wish. Does you query work with the .DB file?
Steve
#: 31635 S1/Miscellaneous
28-May-93 17:07:59
Sb: HowTo Import ASCII files
Fm: Richard R. Ulyate 72406,204
To: ALL
While scanning the forum messages yesterday in search of a way to load ASCII
files using OPAl, one of them mentioned the breakApart method. That was the
key(this method should also be cross- referenced under "parse"). For those
who are similarly perplexed here is the metholodoly I used to get a comma
delimited(without quotation marks) ASCII file into an existing,but empty
table: a) open a text file using a TestStream variable b) use readline to
place the text into a string array c) calculate the number of array items
using size() d) using a from-to loop read each array item into a string e) use
the breakapart method to parse that string into another array f) open the
target database using a tCursor,edit, insert a record
thne copyfromarray using that second array designator, then
end the edit g) the looping continues until every element in the first
array
has been broken up. h) the ASCII file data now resides in your target
database NOTE: the ASCII file should not have any quotation marks as they
would be included in the Pdox table if they were there. [A
Reply to this if you need further explanation. Good Luck! /EXIT
#: 31641 S1/Miscellaneous
28-May-93 17:36:59
Sb: #Tech Supp: Pdx Err Msg
Fm: David Orme (T-Wack) 70402,523
To: Sysop (X)
All,
I often get the error message, "Cannot read from Drive C" in a large white
Windows Critical Error Message dialog box after I have been using Paradox for
Windows for awhile. It seems to occur especially when I have been doing a lot
of table restructuring and ref. integrity modification.
Exiting Paradox for Windows and restarting it seems to temporarily clear up
the problem when it begins to reoccur. Also, I have never lost data when this
has occured although I have had to delete *.val and redo my valchecks and ref
integ approx 3 times now on this same project.
Is there something in my configuration that could cause this message to occur
on a regular (almost daily) basis?
Thanks in advance for all of your help!
Regards, Dave Orme (T-Wack Software Group, Chicago)
#: 32075 S1/Miscellaneous
01-Jun-93 12:03:52
Sb: #31679-Tech Supp: Pdx Err Msg
Fm: David Orme (T-Wack) 70402,523
To: Richard Wagner (TeamB) 71333,2031 (X)
Richard,
>> Does this problem occur only in PdoxWin? <<
I've only seen it in PdoxWin.
Regards, Dave
#: 32295 S1/Miscellaneous
01-Jun-93 19:36:23
Sb: #31679-#Tech Supp: Pdx Err Msg
Fm: Mike Irwin/Co-Assist 100114,1437
To: Richard Wagner (TeamB) 71333,2031 (X)
Richard,
it's happened to people with a variety of machines that I've seen. Sometimes
it seems like its a combination of PcKwik and Stacker, but on other occasions
not ...
Mike
* Reply: 32639
#: 32639 S1/Miscellaneous
03-Jun-93 00:29:33
Sb: #32295-#Tech Supp: Pdx Err Msg
Fm: Richard B. Williams 71760,1200
To: Mike Irwin/Co-Assist 100114,1437
PMFJI I had exactly those symptoms when I failed to load share with the proper
parameters. The /l: and the /f: switches must be set as per the readme file.
Also need to check to be sure that file= is big, like 85 or 100 or so.
RBW
* Reply: 32688
#: 32688 S1/Miscellaneous
03-Jun-93 09:32:39
Sb: #32639-Tech Supp: Pdx Err Msg
Fm: David Orme (T-Wack) 70402,523
To: Richard B. Williams 71760,1200
Richard,
Well, I'm not using either Stacker or PCKwick, but I did adjust config.sys
last Friday in the manner you just described. Hmmmm.... Now that I think of
it, I don't think I've seen that error message since last Thursday...
We'll have to see if that fixed it! If so, I'll be extremely happy!
Regards,
Dave Orme (T-Wack Software Group, Chicago)
#: 31651 S4/Forms
28-May-93 19:17:33
Sb: DOS file limitations
Fm: Woody Splawn 73627,3541
To: All
Some time ago there was the general opinion in the Pdox 4.0 world that it was
better not to try and write applications with everything in one directory.
The primary reason for this was because of a DOS limitation. That is, as I
remember it, after about 250 files in any particular directory the speed of
DOS begins to degenerate quickly.
My question is this. Does anyone know if this is still true?. That is, is
there any difference with DOS 5.0, for example? I am asking because it would
be easier in PW to do as much as you can from one directory but I am concerned
about going over some DOS limit on a stand alone machine and having the code
slow to a crawl.
Thank You
Woody
#: 31669 S2/Install/CFG/HrdWare
28-May-93 23:35:21
Sb: #Net Config Novell v NT
Fm: Carter Andrews 70651,2513
To: Randy Spitz (sysop) 76702,1315 (X)
Karen was excited to meet you at the big confab. Thank you for your support.
We are maintaining a database with 8,000 records in the parent (15+ fields per
record, incl memo field) linked to another 15,000 records (10 fields per
record) in the child with referential integrity. Two people are always on the
phone verifying and updating information. The list may well double in size. We
are running PdoxWin local with Windows local.
We are now peer to peer with Windows for Workgroups.The computer holding the
database files (486 33 w/ 16 meg ram 256K motherboard cache ISA bus) is being
used for for word processing and spreadsheets. A total of seven stations share
files and printers. The other computers are from 386SX to 486DX50 with 8 to
16mb ram each. Network cards are 16 bit Artisoft Ethernet II with coax.
We need to upgrade to make things faster. Our input people spend a lot of time
waiting. We do not seem to be able to do queries from the "server" without
either locking up or taking forever, and we need to be able to do queries
while the inputting is going on. We will continue growing the company and
needing to add to the network. We want to be able to continue to grow our
network by ourselves with as few growth pains as possible.
Questions:
We think we should wait for Windows NT because it looks like it will be easy
to use and upgrade to since we're familiar with Windows for Workgroups. Will
Windows NT satisfy our desire to get a faster, fairly simple, more stable
platform? Will NT's speed compare adequately to Novell 4?
Is it time to bit the bullet and get a dedicated server? If so, how should we
configure it? Should it hold only the database files and the network files?
Will an upgrade to a dedicated server make more difference in speed than
moving up to NT?
Thank you for our thoughts.
Carter
* Reply: 31793
#: 31793 S2/Install/CFG/HrdWare
30-May-93 14:39:37
Sb: #31669-Net Config Novell v NT
Fm: Jon Asher (Sysop) 71333,2146
To: Carter Andrews 70651,2513 (X)
Hi Carter-
If you're in a network environment with two or more users constantly accessing
a database, and a number of users intermittently accessing the database, you
would almost certainly benefit from a dedicated file server. For optimal
configuration, place only the tables on the server, while installing Paradox
for Windows locally on each workstation. You could further speed-up your
network by adding even more RAM to the server.
It's difficult for me to answer your other questions because we have done very
little testing with unreleased Windows NT in a network setup. So I cannot
compare it with other configurations. But based on the large overhead of
Windows NT, you would probably need significant increases in the amount of RAM
on each system to reach your current level of performance. Windows NT is not
a simpler operating system.
Jon
#: 31687 S4/Forms
29-May-93 09:11:52
Sb: Secondary Indexes
Fm: Steve Medley 100026,1077
To: Randy Sell 75300,2147 (X)
Randy, Please bear with me.
Can you Help with the following:
TABLE Structure
Site Number S*
Site Name A20 (Maintained Secondary Index)
Other details - unimportant
Approx 2500 Records
REQUIREMENT
To let the user type in a partial string of characters of the Site name field,
to be presented with a list of sites that match the selection criteria. The
string can be any set a squential characters and in any position (Not
necessarily the First position).
MY SOLUTION
Is to accept a string of characters from the user and build up a field with
preceeding and suceeding "..", such as "..ASH..". This variable is placed into
a query and executed. A multi record form is when displayed linking the Answer
table.
This process works with interesting results. The first time it is executed it
takes about 20 secs and subsequent executions take about 2 secs. I can only
assume that Pdoxwin is holding the secondary index in the Cache or table
buffer. Secondly, I wouldn't have thought a secondary index would be of great
benefit in this situation as the selected chars may well be in any position
within the field.
Question.
1. Is there a better way to acchieve that above result as this ultimatly has
to operate on a Lan that has fairly heavy traffic, and is the bane of my life.
Regards
Steve Medley
#: 31700 S1/Miscellaneous
29-May-93 11:35:13
Sb: #Why so difficult?
Fm: Anthony J. Rocchio 75210,2266
To: Stephanie Haas (Sysop) 71333,2145 (X)
Stephanie,
I keep getting the message: Application error
PDOXWIN caused a General
Protection
Fault in module USER.EXE at
0006:1aa6.
Any ideas?
Anthony
* Reply: 31809
#: 31809 S1/Miscellaneous
30-May-93 16:32:25
Sb: #31700-Why so difficult?
Fm: David Hayes 74740,2547
To: Anthony J. Rocchio 75210,2266 (X)
Anthony
I am getting the same thing.
If you find out anything let me know..
Thanks,
Dave
#: 31703 S3/Tables/TableView
29-May-93 12:05:15
Sb: #Long Integers?
Fm: Alan Deikman 70541,507
To: All
I am currently struggling to learn Paradox/PAL after over a decade of
programming dBase, C, and C++. If anyone could answer the following, I would
very much appreciate it:
1. WHY does not Paradox support a "long" integer field (32 bits)? This would
be ideal for, say, the key of a file that will probably grow to more than
2**15 records. Examples of this might be a transaction file which has a
transaction number as the key. So what is the reccommended alternative? A)
put two short integers together as the key field, or B) encode the 32-bit
number as (sigh) an Alpha field, and zero fill it so it sorts correctly.
2. Is there any way to get RIGHT adjusted labels by default on new forms, etc?
3. How many bytes does a type "N" field take? It SEEMS to be more than 8
bytes. Is it the 80-bit IEEE format?
Again, thanks in advance for any information on this intriguing but
frustrating product.
* Replies: 31746, 31843
#: 31746 S3/Tables/TableView
29-May-93 22:29:34
Sb: #31703-Long Integers?
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Alan Deikman 70541,507 (X)
Alan:
1) Use an "N" field for your ID. It's 8 bytes instead of 4, but it's the
best alternative. Paradox for Windows supports LongInt types internally, but
this has not been surfaced as a distinct field type.
2) Open a new form with some labelled fields. Click until the text object
is highlighted. Right-click, then specify "Alignment - Right". Now, specify
"Design - CopyToSpeedbar" to copy this prototype to the speedbar for all
future text objects.
3) See answer to 1) above.
[Dan -> ]
#: 31843 S3/Tables/TableView
30-May-93 21:24:21
Sb: #31703-#Long Integers?
Fm: Randy Minder 73750,3601
To: Alan Deikman 70541,507 (X)
Alan,
Like you, I come from a C background and was used to creating tables with long
intergers and 4 byte floating point values. As you know by now, PdoxWin does
not support them. I wish very much they did and that's the main reason for
this message to you (a little hint to Borland <g>).
Randy
#: 31705 S1/Miscellaneous
29-May-93 12:18:36
Sb: #No Response from Sysop
Fm: John H. Klassen 72212,513
To: Sysop (X)
Borland Sysop,
We joined Compuserve because we needed a better way of communicating with
Paradox support. It was too expensive to call a toll number and be on hold
for an hour before talking to support. On the other hand Borland support
through CompuServe doesn't seem any better. We sent a message to you on 5/17
and still haven't received an answer. After waiting a week, we finally called
support from a hotel. Since we had to pay 75 cents for every attempt to call
support, our phone bill at the hotel was over $20 and that doesn't include the
long distance charges!
What can we expect from you on Compuserve in the future?
John Klassen
* Replies: 31744, 31778
#: 31744 S1/Miscellaneous
29-May-93 22:29:24
Sb: #31705-No Response from Sysop
Fm: Dan Ehrmann (TeamB) 70007,4644
To: John H. Klassen 72212,513 (X)
John:
Please repost your message here and we will try to answer it.
Huge messages with many questions and no paragraph breaks are often avoided by
many of us who support this forum, because they are so difficult to read and
answer. I'm not justifying your lack of response, simply offering one possible
reason.
If you can break a largish message into smaller ones, each asking one
question, you stand a better chance of getting multiple responses.
[Dan -> ]
#: 31778 S1/Miscellaneous
30-May-93 11:59:37
Sb: #31705-No Response from Sysop
Fm: Mike Irwin/Co-Assist 100114,1437
To: John H. Klassen 72212,513 (X)
John,
I'm not anything (paid) to do with Borland, but I help out here a fair bit, so
...
Borland sponsors a number or fora, of which PdoxWin is one. A number of
Borland employees are visible (I _believe_ paid-for by Borland) on rthis
forum, and they accredit themselves as such. There is also another "team",
called "TeamBorland", made up of volounteers who donate their time freely to
help others.
On behalf of all who missed your message (there's been a major conference the
last couple of weeks !), I apologise: please either re-post your message or
e-mail it direct to me (if the latter, remember to put a note in the zip file
saying who it came from !!!
Mike (Co-Assist Tech Support, Eindhoven, NL)
#: 31724 S1/Miscellaneous
29-May-93 16:41:40
Sb: #Pdoxwin & Dos 6
Fm: Arne Snow 72124,3451
To: All
Upon installing Dos6 I am unable to use Pdoxwin. I am using a 386 DX40 with 4
megs of ram. I was able Pdoxwin under Dos 5. Now I get an Insuffiecient Memory
message and Pdoxwin refuses to even load or. Pdoxwin caused a not present
fault in Module KRNL 386.exe at 0002:098D. Sometimes Pdoxwin will load but it
is so slow I could go out for dinner while it changes screens. Has any one
else experienced these problems. I am a new user to Paradox and had been
looking forward to developing applications. Now I may have to go back to
Access with where my applications run fine in DOS6
* Reply: 31794
#: 31794 S1/Miscellaneous
30-May-93 15:17:47
Sb: #31724-#Pdoxwin & Dos 6
Fm: Brian Bushay (TeamB) 76711,516
To: Arne Snow 72124,3451 (X)
Arne
>Upon installing Dos6 I am unable to use Pdoxwin. I am using a 386 DX40 with 4
There are a couple of common problems that Dos 6.0 causes when you install
it. First is ignores current settings for SmartDrv.exe and will install
this disk cache with default parameters. PdoxWin is a tight fit on a 4 meg
machine you can't afford to allocate too much memory to Smartdrv.exe
I recoment you use
SmartDrv.exe 512,256 in your Autoexec.bat
As second problem that Dos 6.0 cases it to mess up your Windows swap file.
You need a 4-6 meg perminant swapfile and the swapfile needs to be on an
uncompressed drive.
Brian
#: 34089 S1/Miscellaneous
09-Jun-93 12:24:46
Sb: #32843-#Pdoxwin & Dos 6
Fm: GRANT R. CYNOR 72110,3272
To: Brian Reed (Sysop) 71333,2360
I'm running Dos 6 with Memaker on Novell 3.11. Before upgrading to Dos 6,
Pdoxwin worked fine, now when I work on my forms applications, my machine
hangs on the "hourglass" and says Compiling down in the message line when I
save the form. Also when I "EditPaste from file" text from large queries and
run the syntax check these errors pop up:
1. Divide by zero or Overflow Error
2. pxdvieww.dll at 000a:13d1
3. Pdoxwin caused a General Prot. Error in Krnl386.exe at 0001:9317
Your help is Greatly appreciated ... Grant
* Reply: 34192
#: 34192 S1/Miscellaneous
09-Jun-93 18:25:12
Sb: #34089-Pdoxwin & Dos 6
Fm: Steve Neverve (Sysop) 71333,114
To: GRANT R. CYNOR 72110,3272
Grant,
Try adding EMMEXCLUDE=A000-C7FF to the 386Enh section of the System.ini.
Also, take a look at TI1283.ASC in LIB1. Are you using any of the features
of DOS6.o like double disk?
Steve
#: 31725 S3/Tables/TableView
29-May-93 16:54:31
Sb: #Estimating DB size
Fm: Gary Spinelli 75600,1201
To: sysop (X)
Is there a way to accurately estimate the future size in bytes that a table
will take on the disk given
the number of bytes per record and anticipated number of records created?
* Reply: 31772
#: 31772 S3/Tables/TableView
30-May-93 09:49:17
Sb: #31725-Estimating DB size
Fm: Bill Todd (Kallista) 75046,1345
To: Gary Spinelli 75600,1201 (X)
For the .db file, yes. First you have to add up the field sizes to get the
record size.
Ann = nn bytes S = 2 D = 4 N & $ = 8
For memo and blob fields it is the size you specify plus 10.
Paradox stores records in fixed size blocks either 2k, 3k or 4k in size. For
keyed tables Paradox uses the smallest block size that will contain at least 3
records. To determine how many records a block will hold take the block size
minus 6 (6 bytes used for housekeeping info) and divide by the record size.
For example, if you have an 800 byte record and you want to see how many will
fit in a 2k block
(2048 - 6) / 800 = 2.55
Since records can not span blocks only 2 records will fit so Paradox will use
a 3k block.
(3072 - 6) / 800 = 3.8
The wasted space in each block will be
(3072 - 6) - (800 * 3) = 666 bytes.
If you need to store 10,000 records the minimum requred disk space will be:
(10,000 / 3) rounded up to the next integer = 3334 blocks * 3072 bytes per
block = 10,242,048 bytes.
This is the minimum because:
1) Paradox uses a clustered primary index so as you add records to the table
blocks will be split to make room for the new records resulting in wasted
space.
2) If you have memo or blob fields you must allow for the space used by the
.MB file.
3) You must also allow for primary and secondary index files, .VAL files etc.
Hope this helps, although I realize it is probably more confusing than
anything else. If you have specific questions I'll try to answer them.
Bill
#: 31726 S1/Miscellaneous
29-May-93 17:08:30
Sb: #PDOXWIN FOR WORKGROUPS
Fm: Fred LaPlante 70572,2456
To: Barney Mattox 70304,2334 (X)
Add one more to the list of WFW developers. Ive been working away here on an
app for a client and never gave it a thought that WFW wouldnt be supported. I
use it (WFW) here myself, but development is not yet at the point wheere I'd
be checking out the LAN aspects (how nieve? of me). The client is already
using WFW routinely, and like me just assumed that WFW was main stream enough
that support was gauranteed. I hope that it will be SOON.
Fred LaPlante
#: 31729 S3/Tables/TableView
29-May-93 17:15:03
Sb: Ref. Integrity - bang
Fm: Chris Read (DT/EPA) 100014,2273
To: Martin Rudy 71621,326 (X)
Martin:
Reading through your conference paper on Ref. Int. I thought I'd play around
a bit with your example files, the employee table specifically.
The employee table has Strict Referential Integrity set. If you open the table
in PWIN.
Go into Paradox 4, query the employee table to create an answer table with the
same structure, and try adding the answer back into the employee table, I get
an unexpected condition file open I104.
This is not as you can appreciate a mind blowing problem, interesting all the
same. You would of thought you'd get a "This table is write-protected"
message.
Regards
p.s. congrats to Greg & yourself on the excellent Paradox 4 Secrets
#: 31748 S4/Forms
29-May-93 22:29:45
Sb: #31713-#Duplicate properties?
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Todd Cary 73027,3067 (X)
Todd:
>> How can I set the properties of an Object and duplicate it for all other
>> Objects within the Frame? Example: I want to set the frame style and
>> thickness for all of the field objects to the same kind.
SHift-click on each object in turn, then Ctrl-Right-Click to set properties
for all of them at once. Alternatively, place the first object, set its
properties, then issue "Design - CopyToSpeedbar" to set those properties as
the default for subsequent objects.
>> How do I copy a button (or series of buttons) from a Form Object
>> (associated with a different table) to the one I am working on?
Open the "template" form in Design mode, select the buttons and copy them to
the Windows clipboard. Move to the new form, click in the location you
want, then Paste from the clipboard into the new form.
[Dan -> ]
#: 32153 S4/Forms
01-Jun-93 15:35:54
Sb: #31713-#Duplicate properties?
Fm: Robert Ramirez (Sysop) 76702,255
To: Todd Cary 73027,3067 (X)
Hello Todd,
Use <Shift-F6> in order to select "Objects in Page" to set the properties for
most of the objects. You might need to still select individual objects and
change their properties. Hope this helps...
~Robert
Borland Tech. Support
#: 32165 S4/Forms
01-Jun-93 15:48:47
Sb: #31817-#Duplicate properties?
Fm: Rick Fillman (Sysop) 76702,273
To: Todd Cary 73027,3067 (X)
> Not very intuitive
Hmm. You might also like Shift-Drag(with Mouse) making a square
around the objects you wish to select. On releasing the mouse
button, object within the area you have defined are selected.
Rick Fillman, Tech Support (Borland)
#: 31755 S4/Forms
29-May-93 23:23:47
Sb: #New line in Memo field
Fm: Scott Basham 73042,2410
To: SysOp (X)
I would like to press <Enter> in a Memo field, where I get a 'new line'. I
did 'disableDefault' on the <Enter> key (so the cursor does not jump to the
next field), then placed, instead, the \n character. It looks great when I'm
editing the field, but once I've moved the cursor off the field, I no longer
have a new line, but I have what looks like a non-printable character (thin
black box). How can I accomplish this?
* Reply: 32161
#: 32161 S4/Forms
01-Jun-93 15:48:28
Sb: #31755-New line in Memo field
Fm: Rick Fillman (Sysop) 76702,273
To: Scott Basham 73042,2410 (X)
> I would like to press <Enter> in a Memo field, where I get a
> 'new line'.
When you are on the memo fieldPress Shift-F2. Watch the lower RH
corner of the screen. There, you'll see the word "Memo", which
indicates that now we are in "MemoView". Once you are in memo
view, you'll find that <Enter> behave just as you desire.
In OPal, you can use something like Action(EnterEnterMemoView) to
get the same effect as Shift-F2 (see Table in OPal book p. 826)
Lastly, you'll probalby alos be interested in the Runtime
property (right click on the Edit Region for the memo field) and
select Complete Display.
Rick Fillman, Tech Support (Borland)
#: 31765 S1/Miscellaneous
30-May-93 03:54:14
Sb: #Missing Capability
Fm: George H. Foster 71324,3602
To: sysop (X)
I use WordPerfect's DataPerfect. In about every way you can name, Paradox
(DOS even) is (based on my limited use) a much better piece of work.
It has one capability that as far as I know Paradox does not have. It allows
defining a field as an Integer that auto increates when a record in a table
(they call it a panel) is created. This is very valuable in situations where
ID or Customer or Invoice like numbers are needed for public consumption or
table interlocking.
Why???
* Replies: 31795, 32141
#: 31795 S1/Miscellaneous
30-May-93 15:17:53
Sb: #31765-#Missing Capability
Fm: Brian Bushay (TeamB) 76711,516
To: George H. Foster 71324,3602 (X)
George
>It allows defining a field as an Integer that auto increates when a record
>in a table (they call it a panel) is created. This is very valuable in
While PdoxWin does not have a special field type the code is quite easy.
Take a look at page 49 of your learning ObjectPal Manual
and/or page 282 of the ObjectPal developers guide
Brian
* Reply: 31885
#: 31885 S1/Miscellaneous
31-May-93 10:21:23
Sb: #31795-Missing Capability
Fm: George H. Foster 71324,3602
To: Brian Bushay (TeamB) 76711,516 (X)
Thanks for the lead.
#: 32141 S1/Miscellaneous
01-Jun-93 15:08:18
Sb: #31765-Missing Capability
Fm: Steve Neverve (Sysop) 71333,114
To: George H. Foster 71324,3602
George,
Just to add to Brian's answer. If you want to increase a record by 1 each
time you add a new record ie; 1,2,3,..., you can add a filed to a form,
right-click the field, and choose define field. Next, click the down arrow
of the table and choose Record Number | OK. Now this will increment you
records by 1. The first record will be 1, the second record will be 2, etc.
The auto-increment may be better than this, but I wanted to let you know about
this option also.
Steve
#: 31767 S1/Miscellaneous
30-May-93 07:34:30
Sb: Restructuring a Table
Fm: Paul L Garrett 100141,135
To: Sysop (X)
I tried to restructure a table by inserting a new field which I identified as
the Key field. when I attempted to save this field it was saved as -priv
keyviol.tv and I have been unable to recover the file and data already
entered. Can you explain what I did wrong and if I can recover the file?
#: 33487 S1/Miscellaneous
07-Jun-93 13:01:49
Sb: #33440-Restructuring a Table
Fm: Richard Wagner (TeamB) 71333,2031
To: Paul L Garrett 100141,135 (X)
Paul,
First of all, if you want a field object embedded in a text object, press F5
while your cursor is within the text object. The field will then be aligned
with the text around it.
Second, try putting the text object and fields in the Record band. Does that
help?
Richard Wagner
#: 31769 S1/Miscellaneous
30-May-93 09:21:50
Sb: #.DBF files ?
Fm: Bob Taylor 76304,155
To: All
I don't know if this message will be duplicated. If so, I apologize. Using
TAPCIS I originally joined in BORLAND Forum, which resulted in two levels of
choices before arriving in the Paradox for windows. When I then posted the
message that is duplicated below I found that I didn't automatically wind up
here and in fact the system froze in CIS. So I rejoined as PDOXWIN and
hopefully after this message is posted I will exit gracefully. INCIDENTALLY,
PLEASE RESPOND TO THIS MESSAGE, not the other one as I don't think I'll get it
otherwise.......................................................
I recently purchased Paradox for Windows, but as yet I haven't installed it or
opened the shrink wrap for that matter. I had sent for a Training Video by a
3rd party vendor and it seemed to indicate that the files created were
something other than .DBF format. If so, that kinda bothers me. That would
seem to limit it's ability to import files from other sources.
Perhaps someone would be kind enough to clarify this for me.
BTW, the video I referred to above was rather "weak," I thought. Does anyone
have experience with the Borland tapes? Are they worth the investment? I am
looking for a way to lessen the learning curve, which is one reason I am
sending back SUPERBASE and trying Paradox. There seems to be more training
classes available for Paradox, if that becomes necessary. Hopefully videos
will surfice.
THANKS. Bob Taylor
* Reply: 31796
#: 31796 S1/Miscellaneous
30-May-93 15:17:58
Sb: #31769-#.DBF files ?
Fm: Brian Bushay (TeamB) 76711,516
To: Bob Taylor 76304,155 (X)
Bob
>something other than .DBF format. If so, that kinda bothers me. That would
>seem to limit it's ability to import files from other sources.
Paradox Windows will use either Paradox files (.db) or Dbase files(.dbf)
Generally if you don't specify the file type you get Paradox files. Paradox
files have some advantages (like supporting graphic field types) so I am not
surprised that the video would emphasize them
>I thought. Does anyone have experience with the Borland tapes? Are they
>worth the investment? I am looking for a way to lessen the learning curve,
I have looked at the Borland tapes and I thought they were quite well done.
My learning cure for the most part was beyond the level of the tapes, but I
sure would have appreciated them when I first got Pdox Win.
Brian
#: 31856 S1/Miscellaneous
31-May-93 00:25:47
Sb: #31840-#.DBF files ?
Fm: Brian Bushay (TeamB) 76711,516
To: Bob Taylor 76304,155 (X)
Bob
>Is there any way to convert .dbf files to the Paradox (.db) format or vice
>versa?
You can copy one table type to the other. Just specify the extension you
want when you give the new table its name.
Brian
#: 31770 S4/Forms
30-May-93 09:35:14
Sb: #Multiple Forms
Fm: Randy Minder 73750,3601
To: All
I have a situation where there is a form on the screen. During certain
situations, I want this form (form 'A') to call a second form ('B'). Both
forms need to be on the screen at the same time. After 'A' calls 'B', I need
control to return immediately to 'A'. I'm not sure how to accomplish this.
Do I have to use tform.Wait() after tform.open() in form 'A'? And, I'm not
sure where to place the formReturn() call in form 'B' so that control returns
right away.
Thanks very much.
Randy
* Reply: 31824
#: 31824 S4/Forms
30-May-93 18:04:33
Sb: #31770-#Multiple Forms
Fm: Bill Todd (Kallista) 75046,1345
To: Randy Minder 73750,3601 (X)
Randy,
If by control you mean focus then you will have to use the form type method
moveTo. For example,
f.attach("forma") f.moveTo()
I have not tested this but you might try doing a doDefault in form B's open
method and placing the code above there.
Bill
#: 31776 S4/Forms
30-May-93 11:51:33
Sb: #Combo-box methods?
Fm: Alan Deikman 70541,507
To: All
Is there any UIObject technique/method that can implmement a Windows-style
combo-box? I want to create, for example a two character field which
represents only one of a known list of possible status codes. Example:
UP - UPS
FX - Federal Express
RO - Roadway
et cetera. The help should be in a pop-up window which scrolls if there are
too many fields. Is there some mechanisim in PAL/Paradox that does this that
I just missed in the manual and examples?
I find the Paradox Table-lookup field property mechanisim unsatisfactory
becayse the user has to type "CTRL-SPACEBAR" to get the list of choices, and
the existence of the field type is hidden until the user is on that particular
field.
Any help appreciated.
* Reply: 32163
#: 32163 S4/Forms
01-Jun-93 15:48:37
Sb: #31776-#Combo-box methods?
Fm: Rick Fillman (Sysop) 76702,273
To: Alan Deikman 70541,507 (X)
> character field which represents only one of a known list of
> possible status codes. Example:
Field object in form. Right-Click and select Display Type.
Select List. Proceed to create three list items. Isn't this
what you want?
Rick Fillman, Tech Support (Borland)
#: 31785 S1/Miscellaneous
30-May-93 13:26:37
Sb: #Memory problem
Fm: Ferdel (Jim) Davis 71242,3066
To: James Schultz
Hi James just saw your name come up on the forum and is wondering if you could
help me with a problem I am having with Paradox for windows. It seems Paradox
is not satisfied with the four megabytes of memory I have for it. Everytime I
try to load it, it tells me that I do not have enough memory "INSUFFICIENT
MEMORY TO RUN PARADOX FOR WINDOWS" iT'S GETTING REAL FRUSTRATING NOT BEING
ABLE TO RUN THE PROGRAM.
ANY HELP YOU CAN OFFER WILL BE VERY MUCH APPRECIATED.
JIM
* Reply: 31797
#: 31797 S1/Miscellaneous
30-May-93 15:18:03
Sb: #31785-Memory problem
Fm: Brian Bushay (TeamB) 76711,516
To: Ferdel (Jim) Davis 71242,3066
Jim
Pdox Win is a very tight fit on a 4 meg machine.
The most common memory Problem is caused by having too much memory allocated
to Smartdrv.exe
Reduce the allocation of SmartDrv.exe to
Smartdrv.exe 512,256
On a 4 meg machine you also must have a perminant swap file of 4-6 meg
defined. And it must be on a uncompressed drive.
Add Share to your Autoexec.bat with these parameters
share /l:400 /F:4096
Brian
#: 31801 S2/Install/CFG/HrdWare
30-May-93 15:40:09
Sb: #No Help
Fm: Bill Bragg 75450,2170
To: sysop (X)
I'm having trouble with PDOXWIN. I can't get "help" to work. The files are
there on the disk, and I can open them with the MS Help program, but the help
menu option doesn't work from the PDOXWIN menu. It does nothing. I don't use
Norton Desktop. The only odd thing about my machine is the video resolution
(1280x1024x256). I've read messages about other people having this problem
... what's the solution? --Bill Bragg
* Replies: 31966, 32101
#: 31966 S2/Install/CFG/HrdWare
31-May-93 19:31:14
Sb: #31801-No Help
Fm: John Rusin 76320,357
To: Bill Bragg 75450,2170 (X)
Bill,
I see you are not using Nortons Desktop. I have found that some programs such
as Norton's Sleeper and Freeze Frame Capture can not be loaded before PFW. I
have also noticed that many of the problems appear on Gateway 486-66 LB
machines. This is a real inconvenience since I have 16 megs of RAM and PFW
will take it all if Sleeper or Capture have ever been loaded. This happens
even if I close Sleeper and Capture.
Borlands solution is not to run the conflicting programs. I find this
solution unacceptable and have switched back to MS Access.
See note in this forum section titled "PFW and other programs"
John
#: 32101 S2/Install/CFG/HrdWare
01-Jun-93 13:02:35
Sb: #31801-#No Help
Fm: Robert Ramirez (Sysop) 76702,255
To: Bill Bragg 75450,2170 (X)
Hello Bill,
What Video Card/Driver are you using? What happens if you switch to a
standard SuperVGA driver? Is the driver your using the lastest? If the Video
card you using is an ATI video care, make sure that you get the latest ATI
driver. There are now Build 59 drivers available here in the ATITECH forum
that are relatively stable. You should use them or the original Build 42
drivers - all the other builds have been quite problematic. Also, some
problems with the ATI Ultra Pro can be solved by setting bitmap=offin the
[Mach32] section of Win.ini. Also the internal modems supplied by Gateway
have been implicated inproblems. GateWay apparently has a Bios fix for this
but if you have one
~Robert
Borland Tech. Support
* Reply: 32329
#: 32329 S2/Install/CFG/HrdWare
01-Jun-93 21:51:55
Sb: #32101-#No Help
Fm: Bill Bragg 75450,2170
To: Robert Ramirez (Sysop) 76702,255 (X)
I have an ATI GUP VLB with the PRO59 drivers. I do not have a gateway
machine, but I do have a Micronics motherboard. I also have 20Meg of RAM, a
WD8013 Ethernet card, a MediaVision PAS 16 card with an NEC cdr-84 rom drive,
and I have a WD2340 IDE hard disk. I'm running in 1280x1024 mode with 256
colors. I also have a monochrome card I use for debugging. I can view the
files from the file manager by just double clicking on them, so they obviously
exist and they are displayable on my system. The only time I can't view them
is when I'm in PDOXWIN. Ain't that somethin' ! I can only get help for
PDOXWIN when I'm not in it.
There are obviously other people having this problem. My suggestion is that
Borland buy a Gateway machine and figure it out. There are no small number of
people with Gateway machines in the world and I'll bet that you'll be hearing
from them as PDOXWIN takes off. --Bill Bragg
* Reply: 32655
#: 32655 S2/Install/CFG/HrdWare
03-Jun-93 01:45:56
Sb: #32329-No Help
Fm: John Rusin 76320,357
To: Bill Bragg 75450,2170
Bill,
I have the ATI UGP VLB with old ATI drivers. Following Robert's suggestion
and switched to Windows VGA drivers and I can now get the help files and load
other programs. I am going to get the new ATI drivers and see if they are
better. I would not want to continue to use the Windows drivers..my eyes are
starting to hurt after just 30 minutes using them. The crystal fonts are
great.
John
#: 31828 S1/Miscellaneous
30-May-93 18:24:43
Sb: #Memo Field in Forms
Fm: Mussie Gebregziabiher 76420,346
To: SYSOPS 76711,516 (X)
I have created a form from a table which contains Memo fields. Since I have
several fields < including related table>, I wasn't able to fit all of them
into one page screen. Therefore instead of using the proposed, by paradox/win
i.e., field size for memo I shrunk memo fields to fit all memo fields and the
others unto one page. When I run the form, memo fields show part of the memo
text and fied view [F2] doesn't revert to some kind of editor. Instead to
scrolls thru the memo by allowing you to see part of, in my case 40 chars at a
time. Is there any way I can see every thing in that memo in full screen
while I am in form by pressing F2. Am I skipping/missing a step that would
allow me to do this during the form design phase? .... Thank you ...
* Reply: 32150
#: 32150 S1/Miscellaneous
01-Jun-93 15:35:45
Sb: #31828-Memo Field in Forms
Fm: Robert Ramirez (Sysop) 76702,255
To: Mussie Gebregziabiher 76420,346 (X)
Hello Mussie,
The best way to do this is to add another page to your Form and at the page
level of the Form, Trap for the the <F2> being pressed. When its pressed,
move to the second page, i.e.
Method Keyphysical(var Eventinfo keyevent)
if eventinfo.isprefilter() then
;
Else
if Eventinfo.vchar() = "Vk_F2" Then
disabledefault ; because you don't want the default behavior to happen
Movetopage(2)
endif
.
.
Endmethod
Hope this helps...
~Robert
Borland Tech. Support
#: 31849 S4/Forms
30-May-93 22:28:22
Sb: #Trailing spaces vanish!
Fm: David G. Martin 73057,3252
To: Sysop (X)
I have a field defined as a drop-down edit field. There are only a few values
in the list, but they all contain a trailing space.
The list recognizes this space. Also, when I choose one of the list entries,
the trailing space appears. However, when I save the entry in the field, the
space is not saved, thus the table entires do not contain the space.
Is there a way to prevent this? I don't necessarily need a space -- a
non-printing, non-displaying character that would act as a placeholder would
work as well.
Thanks.
--Dave
* Reply: 32166
#: 32166 S4/Forms
01-Jun-93 15:48:53
Sb: #31849-#Trailing spaces vanish!
Fm: Rick Fillman (Sysop) 76702,273
To: David G. Martin 73057,3252 (X)
> The list recognizes this space. Also, when I choose one of the
> list entries, the trailing space appears. However, when I save
> the entry in the field, the space is not saved, thus the table
> entires do not contain the space.
What you are observing doesn't have anything to do with the
drop-Down Edit List.
Try typing some spaces at the end of an alpha field when you are
entering data interactively (using NO list). You'll see that
your trialing spaces are discarded with the record is written.
> Is there a way to prevent this? I don't necessarily need a space
> -- a non-printing, non-displaying character that would act as a
> placeholder would work as well.
Can you tell us a bit more about why you need such a character in
your choices. I'm having difficulty answering the question
because I don't know what this "placeholder" is suppose to help
you acheive.
Rick Fillman, Tech Support (Borland)
* Reply: 32327
#: 32327 S4/Forms
01-Jun-93 21:16:00
Sb: #32166-Trailing spaces vanish!
Fm: David G. Martin 73057,3252
To: Rick Fillman (Sysop) 76702,273 (X)
Rick--
Well, not being able to have the placeholder forced me to do thing the RIGHT
way, which was to add calculated fields to my report to add things like spaces
when needed, but to delete them when not needed. This is a lot nicer, and
probably how I SHOULD have done it to start out <g>.
Thanks for your help.
--Dave
#: 31858 S2/Install/CFG/HrdWare
31-May-93 00:27:44
Sb: #PFW and other programs
Fm: John Rusin 76320,357
To: Milt Har 70254,3702 (X)
Milt,
I have a similar problem in that PFW will take all of my 16 megs if Norton's
Screen Saver or Freeze Frame Capture is loaded first. The only way I could
load other programs is to load PFW first. Since I often do not run PFW this
is a waste of time. Borlands solution was to not run the conflicting
programs. I agree with you, I do not find this solution acceptable. I really
wanted to use PFW as I use Pdox DOS and QPROwin but I need to run my other
programs. I have switched back to MS Access as it does not have this type of
problem.
I also found the problem to be specific to my Gateway 486-66 LB. I have seen
this problem reported earier in this Forum and most had Gateway 486-66's! I
can load PFW on a HP-Vectra 486-33 after loading my Screen Saver and other
programs and not have a problem.
I found it interesting that you got Corporate Services' interest. If there
ever is a fix to this problem I might go back to PFW.
John
* Reply: 32100
#: 32100 S2/Install/CFG/HrdWare
01-Jun-93 13:02:31
Sb: #31858-#PFW and other programs
Fm: Robert Ramirez (Sysop) 76702,255
To: John Rusin 76320,357 (X)
Hello John,
I beleive that the Gateway 486-66 LB is shiped whith an ATI Video card. If
this is the case, use the Windows, VGA driver, not the ATI driver you got with
your Gateway OR get the latest ATI driver. There are now Build 59 drivers
available here in the ATITECH forum that are relatively stable. You should
use them or the original Build 42 drivers - all the other builds have been
quite problematic. Also, some problems with the ATI Ultra Pro can be solved
by setting bitmap=offin the [Mach32] section of Win.ini. Also the internal
modems supplied by Gateway have been implicated in
problems. GateWay apparently has a Bios fix for this but if you have one
Pull it out and see if it makes a difference. Hope this helps...
~Robert
Borland Tech. Support
* Replies: 32642, 32654
#: 32642 S2/Install/CFG/HrdWare
03-Jun-93 00:53:49
Sb: #32100-PFW and other programs
Fm: John Rusin 76320,357
To: Robert Ramirez (Sysop) 76702,255 (X)
Robert,
Thank you very much for your response. This is the first time that I have
seen comments regarding the Gateway problems other than "do not use..." Yes,
the ATI has some problems which fortunately have not appeared with other
programs.
I will give all of your suggestions a try. I really do want to use PFW.
Thanks again,
John
#: 32654 S2/Install/CFG/HrdWare
03-Jun-93 01:42:04
Sb: #32100-PFW and other programs
Fm: John Rusin 76320,357
To: Robert Ramirez (Sysop) 76702,255 (X)
Robert,
I returned my TelePath modem so that was not the problem! Turning bitmap=off
didn't help. But..using the Windows VGA driver instead of ATI's drivers did
the trick. I can load PFW, and several other applications at the same time.
I can also load Norton's Desktop Sleeper and Freeze Frame Capture before PFW
with no problem at all. I never thought that Desktop was really the problem
since I can run PFW on other computers with Sleeper loaded. Of course the
other computers didn't have ATI drivers!
Now to get the current ATI drivers as I wouldn't want to continue using the
Window's drivers after getting used to the clarity of ATI's screen.
Thanks again,
John
#: 31872 S2/Install/CFG/HrdWare
31-May-93 07:06:36
Sb: #31779-#Code Page 866 Blues
Fm: Rod Stites 75405,712
To: Mike Irwin/Co-Assist 100114,1437 (X)
You guys might be interested...I posted a real hot note on here last night
about the teeny tiny fonts. I found the problem, and maybe this will help
others.
The culprint in my case was a set of PageMaker 4.0 fonts for preview at
different magnifications. Once I removed them, the problem resolved. I
haven't checked to see what this does to PageMaker yet, but you guys may have
a slight problem of "conflict."
I'd be interested to know exactly what the programmers reference for the
font...it is almost unbelievable how much wierd debugging I had to do to
locate my own "teeny tiny fonts" problem.
Let me know if this is not clear, and I'll add additional info. In the
meantime, since you say to "not click on 'use true type only'", you may want
to look really hard at what that implies and what your particular application
(PDOXWIN) is picking up!
I'll pass a note along to the Pagemaker folks, but uh, they were here before
you guys, and the only, one and only, way I can cure the tiny font problem is
to pull the PageMaker display fonts.
Looking forward to your reply.
Rod
* Reply: 31909
#: 31909 S2/Install/CFG/HrdWare
31-May-93 13:14:32
Sb: #31872-#Code Page 866 Blues
Fm: Brian Bushay (TeamB) 76711,516
To: Rod Stites 75405,712 (X)
Rod
>You guys might be interested...I posted a real hot note on here last night
>about the teeny tiny fonts. I found the problem, and maybe this will help
>others.
Thankyou for that note. The Pagemaker fonts have been linked to display
problems before but I hadn't got them correlated to tiny status message
fonts in SVGA before
>I'd be interested to know exactly what the programmers reference for the
>font...it
I believe that the program looks for HELV 8 point for the status line message
>way I can cure the tiny font problem is to pull the PageMaker display fonts.
No one else has reported a problem removing those PageMaker fonts.
Brian
* Reply: 31942
#: 31942 S2/Install/CFG/HrdWare
31-May-93 16:48:41
Sb: #31909-Code Page 866 Blues
Fm: Rod Stites 75405,712
To: Brian Bushay (TeamB) 76711,516 (X)
Brian,
You're sure welcome, and I haven't seen any problems at all with PageMaker, so
my assumption for now is that all is well. It actually had a global effect
across most of my apps, but none so great as in PDOXWIN.
Thanks, and regards,
Rod
#: 31880 S1/Miscellaneous
31-May-93 09:12:25
Sb: #Borland VIP Message Sect
Fm: Bob Taylor 76304,155
To: All
I am reading the literature that comes with the product pertaing to Tech
Support and I am curious about two things relative to CIS help.
(1) What or where is the special VIP message section? Is it something other
than regular forum support?
(2) It also says that "you are not billed for on-line charges." Does that
actually mean that time spent in this or other Borland forums are not charged
by Compuserve? I find that hard to believe. I have TAPCIS set to only pick up
replies to my questions to avoid downloading all the other messages, which may
not be of immediate interest, but heck if there are no charges maybe I would
look at everything. I almost feel stupid thinking this is possibly, but it's
there in black and white.
Bob Taylor
* Replies: 31908, 32044
#: 31908 S1/Miscellaneous
31-May-93 13:14:27
Sb: #31880-Borland VIP Message Sect
Fm: Brian Bushay (TeamB) 76711,516
To: Bob Taylor 76304,155 (X)
Bob
VIP is one of the support plans that Borland offers.
For the exact details you need to enquire on the Customer service form.
Among the features of a VIP account is a special CIS ID that allows free
access to a Borland form. And access to that form's VIP section. I believe
the VIP section guarantees a 3 business hour response to a question.
Brian
#: 32044 S1/Miscellaneous
01-Jun-93 10:35:52
Sb: #31880-#Borland VIP Message Sect
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Bob Taylor 76304,155 (X)
Bob:
VIP costs extra, but provides a higher level of service, such as 3 hour
minimum turn-around and a special account.
Borland adds no special charges to your use of this forum, but standard CIS
charges still apply.
[Dan -> ]
#: 31884 S4/Forms
31-May-93 09:57:43
Sb: #A Simple Task?
Fm: John Sherratt 100022,1650
To: Sysop (X)
I am setting up a list of contacts. I have 3 tables, Company, Address,
People. Companies can have multiple Addresses and Adresses multiple People.
I created a form and a data model Company-->>Address-->>People for users with
some PWin experience. I do not want to write a major application but to use a
form with as few methods as possible so that the users press F9 to edit etc.
The initial form worked well, but the users now now want to add the date and
time of any changes by pressing on a button. I created a button for each
table on the form with the following code:
-----------------------------------------------------------
method pushButton(var eventInfo Event)
var
ZTc tcursor
endvar
ZTC.attach(PeopLe)
ZTc.dateclean=today()
ZTc.timeclean=time()
endmethod
-----------------------------------------------------------
If the user edits a record and moves away from the record and presses the
button it works correctly but
if the user presses the button without moving away first, a message is
displayed saying that there is a lock on the table.
Questions:
1. How can I stop this happening?
2. Where in the manuals does it give me the answer to 1.?
I am finding it very difficult to find the solution to a problem with the
help system or the manuals without knowing the answers first; either I cannot
find the start of the trail or it dries up very quickly.
John
* Reply: 31948
#: 31948 S4/Forms
31-May-93 17:11:12
Sb: #31884-#A Simple Task?
Fm: Bill Todd (Kallista) 75046,1345
To: John Sherratt 100022,1650 (X)
John,
To put a value into a field where the table is in the form's data model but
the field is not on the form use the dmPut method (see page 180 in the OPAL
Reference).
The TCursor is effectivly another user and is therefore blocked by the form
user's record lock.
Bill
* Reply: 32282
#: 32282 S4/Forms
01-Jun-93 19:04:33
Sb: #31948-#A Simple Task?
Fm: John Sherratt 100022,1650
To: Bill Todd (Kallista) 75046,1345 (X)
Bill,
Thanks for that. It worked!
The point I was getting at when mentioning the manuals is that it's not easy
to find where to start looking for the solution. I bought Power Shortcuts for
PWin hoping that it would give me a bump start but it's so full of typos (even
the form at the back of the book for the expensive disk thinks its QPW) and at
least one factual error that _it's_ going back and I'm still confused. Do you
have anything like Desktop for PWin withs lots of source code. The DOS
version as well as being the answer to a lot of my prayers got me going with
PAL.
John
#: 31886 S1/Miscellaneous
31-May-93 10:30:52
Sb: #Lan Performance
Fm: Steve Medley 100026,1077
To: Sysop (X)
Sysop,
I have been developing an application on a standalone machine that works
fairly fast, however when it was ported to a Novel LAN the performance
decreased dramatically.
The workstations on the LAN do not run Smartdrv as there is caching on the
File server, and Windows and PdoxWin are installed on the LAN. The 2 machines
both have about 8 meg of memory and are 486SX25 machines.
Can you suggest areas that I should look at to improve performance, and what
effect does Minimum amd Maximum Buffers in the Config have on the overall
performance. I have tried min 2048 and Max 6000 and 1024 and 5500 respectivley
and did not a noticable difference.
Regards
Steve
* Replies: 32045, 32287
#: 32045 S1/Miscellaneous
01-Jun-93 10:35:57
Sb: #31886-Lan Performance
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Steve Medley 100026,1077 (X)
Steve:
The networked machines **SHOULD** be running SmartDrv. With 8 megs installed,
set the SmartDrv to 1 meg and you will see the performance kick up a few
notches.
[Dan -> ]
#: 32287 S1/Miscellaneous
01-Jun-93 19:05:03
Sb: #31886-Lan Performance
Fm: Weylan Wang -(Sysop)- 76702,1067
To: Steve Medley 100026,1077 (X)
You may want to check were your private directory is set. That can increase
your performance right there. For the search for more information out across
the network, you are looking at a speed penalty because of network access
time. It just takes longer to get data from a network. You may even want to
try pushing some of your data local if possible. With local data, you can
read off your hard disk much faster then getting it from the network.
-(Weylan Wang)-
-(Borland Paradox Technical Support)-
#: 31892 S1/Miscellaneous
31-May-93 11:17:04
Sb: #Problem w/ Ctrl-D?
Fm: Vikram Chandra 72617,2761
To: Borland
I have a field formatted for five decimal places, so the user can enter a
value like 0.9564. When my user presses Ctrl-D in the next record, PdoxWin
copies over the value as 1.0. Why?
-- Vikram
* Reply: 32151
#: 32151 S1/Miscellaneous
01-Jun-93 15:35:47
Sb: #31892-#Problem w/ Ctrl-D?
Fm: Robert Ramirez (Sysop) 76702,255
To: Vikram Chandra 72617,2761 (X)
Hello Vikram,
Your Control Panel (International Settings) plays apart in how the number is
formatted. Your decimal place setting must be set to 1 in order for it to
round the values like you've described. Reset this setting to 5 and you'll
get the results your looking for.
~Robert
Borland Tech. Support
#: 31895 S1/Miscellaneous
31-May-93 11:33:01
Sb: #DDE Link FROM Excel
Fm: Dan Holesinger 71170,3312
To: All
I'm trying to get Excel to open a DDE channel to PDOXWIN so I can send Excel
Keys to PDOX Forms, Reports. What is the DDE name to use for PDOXWIN? At
least this is what Microsoft thinks may be the problem.
* Reply: 32144
#: 32144 S1/Miscellaneous
01-Jun-93 15:08:32
Sb: #31895-DDE Link FROM Excel
Fm: Steve Neverve (Sysop) 71333,114
To: Dan Holesinger 71170,3312
Dan,
APPLICATION = PDOXWIN
TOPIC = Table name
Steve
#: 31898 S1/Miscellaneous
31-May-93 11:47:43
Sb: #Initial Page Display
Fm: Thomas D Anthony 71561,2144
To: Sysop (X)
I have a six Page Form and when the form opens it displays Page six first.
Page six contains a table object, the others contain text only. I have
determined I can use setErrorCode in the canArrive method for the table object
to get it to open on page one, but all the examples I follow to reset the
error code after opening the form don't work. How do I dispatch an event to
reset the code so the user can update the table once the form is open? HELP
Tom
* Replies: 31930, 32046, 32145
#: 31930 S1/Miscellaneous
31-May-93 15:40:14
Sb: #31898-#Initial Page Display
Fm: Mike Irwin/Co-Assist 100114,1437
To: Thomas D Anthony 71561,2144 (X)
Thomas,
instead of the CanNotArrive, you can tell a form to go to a certain page from
code in the invoking form:
formvar.open() formvar.setPage() formvar.wait()
filling in the appropriate parameters, of course !
hope this helps
Mike
* Reply: 32439
#: 32439 S1/Miscellaneous
02-Jun-93 11:22:27
Sb: #31930-Initial Page Display
Fm: Thomas D Anthony 71561,2144
To: Mike Irwin/Co-Assist 100114,1437 (X)
I didn't realize how many different ways to solve the same problem. Thanks
for everyone who offered a suggestion. In the Paradox Informant I found still
another way. In the Forms Open method, I did a doDefault then a movetoPage(1)
and it opens only showing me page one. I tried it without the doDefault and
got page one for a brief second then it proceeded to Page 6 and waited. This
appears to be working so far but I don't know which method incurs the least
overhead. Thanks guys. Tom at Abbott Labs (We are do some important systems
here at Abbott and I encouraged the use of Paradox for Windoes to replace
ObjectVision, so I have to make it work.
#: 32046 S1/Miscellaneous
01-Jun-93 10:36:03
Sb: #31898-Initial Page Display
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Thomas D Anthony 71561,2144 (X)
Thomas:
Paradox will move to the first object that has a "TabStop" property set to
True, which is the field or table object on Page 6 in your situation.
You might try turning this TabStop to False when the form is opened, and only
turning it to True on the ARRIVE method for Page 6 (attached to the Page
object.)
[Dan -> ]
#: 32145 S1/Miscellaneous
01-Jun-93 15:08:37
Sb: #31898-Initial Page Display
Fm: Steve Neverve (Sysop) 71333,114
To: Thomas D Anthony 71561,2144 (X)
Thomas,
You need to set the tab stop on an object on the first page. You can do this
by right-clicking on the object and checking Tab Stop. The best thing to do
would be to add a field follow the above steps with the field. You can then
hide the field.
Steve
#: 31900 S4/Forms
31-May-93 12:14:03
Sb: #Flyaway Problems
Fm: Jeffrey L. Odell 71461,1064
To: Sysop (X)
I am having no luck implementing the canDepart method on page 328 of the
developers guide. I have a form, 1 ---> M
|----> M ---->M
The master table is implemented as a multi record object with only one record
displayed. I've attached the flyaweay method to the multi-record block and
the individual record, to no avail.
Has anyone sucessfully implemented this code? When my user enters data into
the master record, I want that record to stay current when the user leaves the
block.
Thanks -
Jeff Odell
* Reply: 32083
#: 32083 S4/Forms
01-Jun-93 12:32:56
Sb: #31900-#Flyaway Problems
Fm: Rick Fillman (Sysop) 76702,273
To: Jeffrey L. Odell 71461,1064 (X)
> I am having no luck implementing the canDepart method on page 328
> of the developers guide.
The example code on p. 328 of teh Developer's Guide is inaccurate
The recommended approach is:
method action(var eventInfo ActionEvent)
; this code is attached to a TableFrame or MRO
if eventInfo.id() = DataUnlockRecord then
self.action(DataPostRecord)
endIf
endmethod
Try it. The above allows for use to "follow" the records to its
new location in the table.
Rick Fillman, Tech Support (Borland)
#: 31901 S4/Forms
31-May-93 12:20:41
Sb: Multi-Select
Fm: Steve Zilora 71510,1007
To: all
Has anyone figured out how to implement a multiple selection picklist? PfW
itself does it nicely when you're choosing methods to edit: shift-click grabs
a block of entries; ctrl-click grabs individual entries. This is a lot nicer
approach, IMO, than the dual picklist approach to multi-selects. Thanks.
--Steve
#: 31902 S4/Forms
31-May-93 12:20:50
Sb: #No Sliders?
Fm: Steve Zilora 71510,1007
To: all
It just occured me that PfW doesn't have slide bar objects. Or maybe it does
and I just can't find them <g>. I'm really surprised since P4 does have them.
Anyway, I'm trying to implement a "thumbwheel" in their place. So I've got
my little up and down arrows and I attached a mouseDown method that says
action(dataNextRecord). This works great for moving 1 record at a time. But
I'd like to let the user hold the button down to scroll through the records. I
see the method isLeftDown and I figure that's got to play a role in this, but
I'm not sure where to attach it. I keep coming up with infinite loops. Thanks.
--Steve
* Replies: 31949, 31953
#: 31949 S4/Forms
31-May-93 17:11:16
Sb: #31902-#No Sliders?
Fm: Bill Todd (Kallista) 75046,1345
To: Steve Zilora 71510,1007 (X)
Steve,
If you are trying to move through records why not just use a scroll bar?
Bill
* Reply: 31959
#: 31959 S4/Forms
31-May-93 19:06:48
Sb: #31949-#No Sliders?
Fm: Steve Zilora 71510,1007
To: Bill Todd (Kallista) 75046,1345 (X)
Bill,
The way the form is laid out, I'd really want the scroll bar to be next to
the key field. As far as I know, scoll bars can only be put on the form.
Right?
--Steve
* Replies: 31971, 32086
#: 31971 S4/Forms
31-May-93 19:45:30
Sb: #31959-No Sliders?
Fm: Bill Todd (Kallista) 75046,1345
To: Steve Zilora 71510,1007 (X)
As far as I know you are right. You can not control the location of a scroll
bar on a MRO or tableframe.
Regards,
Bill
#: 32086 S4/Forms
01-Jun-93 12:33:10
Sb: #31959-No Sliders?
Fm: Rick Fillman (Sysop) 76702,273
To: Steve Zilora 71510,1007 (X)
> As far as I know, scoll bars can only be put on the form.
TableFrames and Multi-Record objects (not just Forms) can have
scroll bars (though, you can't control their location.)
Rick Fillman, Tech Support (Borland)
#: 31953 S4/Forms
31-May-93 18:02:46
Sb: #31902-#No Sliders?
Fm: Randy Magruder (Borland) 70720,663
To: Steve Zilora 71510,1007 (X)
Steve,
You need a repeater, essentially. The problem is that you only get a
mouseDown event once. You certainly don't want to go into an infinite loop.
I suggest you consider starting a timer against the button:
Button::mouseDown
self.setTimer( <interval> )
Button::mouseUp
self.killTimer()
Button::timer
active.action(DataNextRecord)
This way you will scroll until you lift off the mouse.
Randy
#: 31904 S4/Forms
31-May-93 12:49:42
Sb: #Form Letters
Fm: John Myszka 71573,366
To: Sysop (X)
I'm trying to create form letters for a database of about 2,500 names. My
word processor is unable to work with this many names. Is there a simple way
to create form letters with simple variables (name, address, etc.) using PFW?
Thanks,
John
* Reply: 32084
#: 32084 S4/Forms
01-Jun-93 12:33:01
Sb: #31904-#Form Letters
Fm: Rick Fillman (Sysop) 76702,273
To: John Myszka 71573,366 (X)
> Is there a simple way to create form letters with simple
> variables (name, address, etc.) using PFW?
We're talking about Mail Merge. For simple letters, use the Report
designer. Create a HUGE Text Box. You text box will cover the entire
page. Inside this text box you will BOTH type the text of your letter
(font it etc., how you like) AND you will insert fields into the text as
you like. These fields "float" in the text. I.e. they behave just like
they were words in you text.
Rick Fillman, Tech Support (Borland)
#: 31911 S1/Miscellaneous
31-May-93 13:32:34
Sb: #Memory & Resource Probs.
Fm: Maurice Doran 73770,1605
To: Tanj Bennett [Borland R& 70642,1211 (X)
Is anyone at Borland aware of a problem with system resources when using
Quattro Pro Win and Paradox Win under PC Tools for Windows?
I support a large community of PC Users, some of which use Quattro and Paradox
simultaneously. They often run into memory/resource problems on their 486
SX-33 PC's. Their computers use DOS-6 and all have 8Mb of RAM.
Depending on the oder in which they load and unload applications, very often
their resources drop around 19% and they start running into trouble. I know
that the systems have enough memory but it's the resources that seem to be
causing the problem...
Any suggestions or comments ???
Thanks,
Maurice
* Reply: 31913
#: 31913 S1/Miscellaneous
31-May-93 13:49:10
Sb: #31911-#Memory & Resource Probs.
Fm: John Rendell 70474,377
To: Maurice Doran 73770,1605 (X)
Maurice - I am running QproWin and Pdoxwin under PCTools for windows. Part
of the resource problem is PCTools itself. Unless you have 16 meg of ram, I
would scrap it. Just the desktop open - no programs running - take 19-23%
of my system resources with 16 meg. If this is a four meg or even an 8 meg
machine, there might only be +/- 60% of system resources (Memory) left.
Now subtract out 2 meg for windows itself, any allocations for a disk cache
(probably 1 meg if you did not optimize windows).
-Wig
#: 31922 S2/Install/CFG/HrdWare
31-May-93 14:37:41
Sb: #Starting Paradox
Fm: F C DASTOOR 76440,2017
To: sysop (X)
When I tried to start up Paradox for Windows I get a error message "unable to
initialise ODAPI -Directory is busy"
I have tried to restart after rebooting with no success. What is the problem?
What can I do to correct it?
Please help.
* Reply: 31974
#: 31974 S2/Install/CFG/HrdWare
31-May-93 20:07:53
Sb: #31922-Starting Paradox
Fm: John Rendell 70474,377
To: F C DASTOOR 76440,2017 (X)
F C
Delete any .lck and .net files.
-Wig
#: 31926 S3/Tables/TableView
31-May-93 15:14:56
Sb: image data
Fm: Gilbert R Hillman 70730,3640
To: sysop (X)
I am a new Paradox for Windows user, trying to create a database of
medical images. I can convert the images into various forms
such as tif or bmp. I want to be able to leaf through the images quickly, and
I'm not happy with how this seems to work if OLE is used; additionally, since
the images come from medical imaging devices and we don't edit them, there is
no sense in having a draw program or some such being activated every time I
want to see an image.
I tried making an image field and putting the images into it by "paste
from". This works, bith for some (but not all) tif and bmp images, but each
time I add an image to the table an ".mb" file gets bigger by about the size
of the image data. It appears that the images are being copied into the
database; what I want to happen is that I store in the database the name of
the image file, and Paradox gets it from that location and displays it when I
want to see it, rather than making a copy when the table is created. I have
gigabytes of images, and can't possibly afford to duplicate them all in a
database.
Probably I'm doing this wrong; I hope you can clear up my confusion.
#: 31940 S1/Miscellaneous
31-May-93 16:31:10
Sb: #31581-Referential Integrity?
Fm: Bob Clegg 100236,2277
To: Weylan Wang -(Sysop)- 76702,1067 (X)
Further to the referential integrity problem.
1) Create a two field table (Child). The first field Numeric (Serial
Number)and the primary index. The second
field A4.(Alph)
2)Create another table (Parent) with two fields. First field A4(Alph) is the
primary index. The second field
A4(Dummy)
3) Create referantial integrity between Child and Parent using field Alph.
4) Put 4 records into Parent, starting with the letter "a" through to "d" in
field Alph. No need for entry into
field Dummy.
5) Put 4 records into Child. Numbers 1 to 4 in Serial Number. Letters "a" to
"d" in Alph.
Now try to add 5 to each of the serial numbers using a changeto query.
ie. "example", >=1, changeto "example" + 5
You will get an empty changed table and and errorchange table.
Go back and remove the referential integrity.
The query now works.
Individual alterations of Serial Number by editing always work.
I hope the above adequately defines the problem.
Regards.
Bob.
#: 31944 S2/Install/CFG/HrdWare
31-May-93 16:53:17
Sb: #Initializing ODAPI
Fm: F C DASTOOR 76440,2017
To: SYSOP (X)
In an earlier message I had a problem in that on trying to start Paradox I get
a message saying "cannot initialise ODAPI. Directory is busy".
Nothing helped not even rebooting.
I then un installed Paradox completely from my disk and also removed sall
related files fromthe windows subdirectory.
I then reinstalled Paradox and still have the same problem.
Everything was working fine until I had exited the program to take a break and
then it failed to restart.
I am using Norton Desktop for Windows as my desktop.
Please help. I need to get restarted as soon as possible.
Firdaus
* Reply: 32269
#: 32269 S2/Install/CFG/HrdWare
01-Jun-93 18:40:50
Sb: #31944-#Initializing ODAPI
Fm: Neil Stelling 100136,714
To: F C DASTOOR 76440,2017 (X)
I have had this problem when pdoxwin has crashed, and I try to reload it. The
answer for me was to exit windows, and then re-enter Windows and load Paradox
again - it loads with no problem. If you have the same problem I don't
understand why rebooting didn't work.
* Reply: 32578
#: 32578 S2/Install/CFG/HrdWare
02-Jun-93 19:52:08
Sb: #32269-#Initializing ODAPI
Fm: F C DASTOOR 76440,2017
To: Neil Stelling 100136,714
Re booting did not help. I even removed the entire program from the disk and
then reloaded it and it still did not work. Ultimately I had to load Paradox
on drive D and it is now working. Cannot understand it.
* Reply: 32734
#: 32734 S2/Install/CFG/HrdWare
03-Jun-93 12:15:38
Sb: #32578-Initializing ODAPI
Fm: Steve Neverve (Sysop) 71333,114
To: F C DASTOOR 76440,2017
FC,
Sorry for jumping in late but this information may help. The error message
"Cannot find Odapi" can occur for a couple of reasons. First, if you
received a GPF in PFW, you will need to exit Windows before you can reload
PFW. Second, if you have placed your ODAPI files in a directory other than
WINDOWS\SYSTEM, you will need to place that directory in your path.
Finally, if the ODAPI files are in the Windows\System directory, make sure
that the drive letter is before Windows in your path; ie
Path=C:\Windows;C:\DOS etc.
Steve
#: 31952 S1/Miscellaneous
31-May-93 17:31:15
Sb: #Report View/Print Crash
Fm: Duane Erautt 76424,2253
To: all
I have created a report consisting of around fifty lines that I am going to
use for a timetable. The report crashes when you try to preview or print it.
I tried removing lines until, I got the report to the point where it wouldn't
crash. I noticed that when previewing the report the report is drawn
immediately. When I add one more line that will cause it to crash, I noticed
a long delay with a lot of disk access before it actually crashes. Almost no
disk activity occurs when the report is in a state that will preview
correctly.
I've tried running this report on several computers, (486DX-33Mhz 16Megs
ram, 386SX-25, 386DX-35) with several different configurations. Nothing seems
to make the least bit of difference. I am prepared to upload the file so
anyone can check if it crashes their machine.
* Reply: 32146
#: 32146 S1/Miscellaneous
01-Jun-93 15:08:42
Sb: #31952-#Report View/Print Crash
Fm: Steve Neverve (Sysop) 71333,114
To: Duane Erautt 76424,2253 (X)
Duane,
How many objects are on your form? Try making sure that your lines are not
crossing. Also, select all of the objects, hold down the CTRL key and
right-click. Next, choose run time and uncheck fit width and fit height.
Steve
* Reply: 32180
#: 32180 S1/Miscellaneous
01-Jun-93 16:35:44
Sb: #32146-Report View/Print Crash
Fm: Duane Erautt 76424,2253
To: Steve Neverve (Sysop) 71333,114 (X)
In my report, I have around fifty lines. There are around three boxes. The
lines do cross, I will try changing the lines so that they don't cross, but
it seems pointless that paradox would not allow you to do this. What I have
to create is a timetable outline, with lines breaking up the days of the week
as well as the hours of the day. I have turned off the runtime resizing, but
it didn't help.
THANKS
#: 31956 S4/Forms
31-May-93 18:38:37
Sb: #Form execution of query
Fm: Fred W. Kulikoff 71712,2521
To: Anyone who can help
Help! anyone.
I am a new Paradox for Windows user and have just stared to learn the
ObjectPal language. I have been trying to get a query to execute from a form
using the syntax:
method pushButton(var eventInfo Event)
var
tv TableView
endvar
executeQBEFile("bldgserv.qbe", "bldgserv.db")
tv.open("bldgserv.db")
endmethod
The query does execute but the resulting table does not contain all the
information that it does when I execute the query from the folder. The
existing QBE file contains many calculated fields. The resulting table when
run from the folder corrrectly shows all of these fields. When run from the
form the table has many of these fields blank. The field headings are there
but the results are not.
What am I doing wrong? Any help would be greatly appreciated.
* Reply: 32085
#: 32085 S4/Forms
01-Jun-93 12:33:06
Sb: #31956-Form execution of query
Fm: Rick Fillman (Sysop) 76702,273
To: Fred W. Kulikoff 71712,2521
Under certain circumstances, executeQBEFile can produce results
which differ (from that which you get by manually executing the
query). These circumstances are ones where there are blank
values in the fields involved in the calculations.
If this is your circumstance, you can get accurate results by
switching to executeQBE instead. See the example on p.349 of the
Opal Ref. book.
Tip: With executeQBE you will actually embed the query
definition IN you OPal code - but don't try to type it in. You
ALREADY have what you need in your QBE file. So, perform
Edit|Paste from File while you are in OPal Edit mode. Name the
existing QBE file, and the text description of the query will
show up.
Rick Fillman, Tech Support (Borland)
#: 31960 S2/Install/CFG/HrdWare
31-May-93 19:10:41
Sb: #Paradox/win won't run
Fm: Bob Lynch 70621,3565
To: Robert Ramirez (Sysop) 76702,255 (X)
Bob,
I have started Windos in standard mode as suggested elseware and I
have over 6 MB of true RAM in addition I have a 10 MB swap file, for a total
of 16 MB virtual memory. If PDW takes more than this just to load how much do
you suggest i have to make it run. I am sure I have enough memory. I
frequently get General Protection Fault At 0001:4FEC at the same place during
loading. The Meeter show 33% loaded every time when it stops. I have nothig
else running in windows except the program manager, which of course is
required.
If I need more RAM as implied then Borland should say so before they
advertise it. Could something be going wrong during the install process, or do
you think I may have bad distribution disks??
Any further help would be appreciated,
Thankyou,
* Reply: 32212
#: 32212 S2/Install/CFG/HrdWare
01-Jun-93 17:56:01
Sb: #31960-#Paradox/win won't run
Fm: Jon Asher (Sysop) 71333,2146
To: Bob Lynch 70621,3565 (X)
Bob-
You may need to ensure that all 6MB of your RAM are configured as extened (if
you are using a memory manager such as QEMM, this could be a major issue).
Also, try installing and running Paradox on a "clean" system. GP errors
commonly result from memory conflicts. I recommend that you call Borland
TechFax @ 800/822-4269 and request document number 1283 which reviews the
steps involved in setting up a clean configuration. If you don't have a fax,
the basic steps include:
Remove all lines except FILES, BUFFERS, and HIMEM.SYS from your CONFIG.SYS
file.
Remove all lines except PATH, PROMPT, and any net drivers from AUTOEXEC.BAT
file.
Then, try loading Paradox. Hopefully, this will resolve the problem.
Jon
* Reply: 32610
#: 32610 S2/Install/CFG/HrdWare
02-Jun-93 22:02:57
Sb: #32212-Paradox/win won't run
Fm: Bob Lynch 70621,3565
To: Jon Asher (Sysop) 71333,2146
Jon,
I don't use any TSR's except dos Print and a logitech mouse driver.
these have never bothered any other windows programs. I even unloaded these
just to see and no go. I can't beleave there is a comflict with a mouse
driver, I need that for almost all of my dos programs. I donot use windows
exclusivly because it is such a hog for most thimgs. I only need windows for
programs such as PDW that are so much better than dos version. but even then
if it won't run who needs it. How do I get my money back, I'm fed up.
#: 31980 S3/Tables/TableView
31-May-93 21:10:26
Sb: #LOOKUPS
Fm: RICHARD SOMMER 71664,1605
To: all
To all,
Maybe someone has seen this problem or maybe I'm doing something wrong (or
perhaps going crazy or both), But I can not get a table to lookup to two
different tables from two different fields. Field A is set in structure to
lookup to a table called Folder (with one field). Field B is set to lookup to
a table called Topic (also with one field only). Everytime I press cntrl
spacebar to display the lookup for field B the lookup for field A displays
(also only field A data is accepted). Is this a bug or did they really plan it
this way ?
Thanks, Rich Sommer
* Reply: 32097
#: 32097 S3/Tables/TableView
01-Jun-93 12:47:57
Sb: #31980-#LOOKUPS
Fm: David Orriss Jr(Sysop) 75300,1414
To: RICHARD SOMMER 71664,1605 (X)
Richard,
Sounds like a corrupted VAL file. Delete the VAL file for the table that
contains the table lookup and try again. Hope this helps.
David
#: 31987 S1/Miscellaneous
31-May-93 22:05:44
Sb: #GPR
Fm: mike arm 73310,324
To: SYSOP 76702,1067 (X)
9 times out of 10 when I start PDW, I get the following:
The bar graph hits 10%.
PDOXWIN
An error occurred in your application... CLOSE or IGNORE.
When CLOSEi ng:
Caused GPF in module PXSRV.DLL 0002:1DC4
There seems to be no rhyme or reason to when PDW loads or doesn't. I have
tried some of the suggestions I have seen for GPF's, but they had no effect.
I am running a 486/66 with 8 meg of RAM, QEMM, SmartDRV and PCTOOLS for
WINDOWS under DOS 5.0.
* Replies: 32014, 32152
#: 32014 S1/Miscellaneous
01-Jun-93 00:31:57
Sb: #31987-#GPR
Fm: Don Schubert (TeamB) 70007,4654
To: mike arm 73310,324 (X)
Betcha PCtools and smartdrive are taking 98% of your resources and ram <g>...
Don
* Reply: 32124
#: 32124 S1/Miscellaneous
01-Jun-93 14:42:21
Sb: #32014-GPR
Fm: mike arm 73310,324
To: Don Schubert (TeamB) 70007,4654 (X)
PCTOOLS may be, Smartdrv is set to 2048 1024. The thing is, I can click on
the PFW icon 3 times and have it fail, but the fourth time it suceeds. This is
without doing anything in between. Then I exit PFW and try to get back in and
the same thing happens.
#: 32152 S1/Miscellaneous
01-Jun-93 15:35:51
Sb: #31987-#GPR
Fm: Robert Ramirez (Sysop) 76702,255
To: mike arm 73310,324 (X)
Hello Mike,
At around the 10% level, P4W checks the printer device description and what
fonts are available. It seems that some printer drivers do not respond
correctly to the capability enquiries P4W can make. Also, a very large number
of fonts (> 130, I'm not sure what the actual threshold is) can cause
problems, as also can disabling non-TT fonts (this is an option in the Font
Manager, but we use some non-TT fonts).
So, things to do include ensuring non-TT fonts are enabled, and if your fonts
exceed a hundred it may be worth pruning some out. Also, you might try
installing a "vanilla" print driver if you have an unusual one, and ensure
your printer driver is a Win3.1 vintage (Win3.1 upgrade does not replace your
3.0 printer driver, you must do that explicitly, so many people still have
older print drivers without realising it).
~Robert
Borland Tech. Support
* Reply: 32321
#: 32321 S1/Miscellaneous
01-Jun-93 20:42:53
Sb: #32152-#GPR
Fm: mike arm 73310,324
To: Robert Ramirez (Sysop) 76702,255 (X)
Hmmmmmmmm! I do have a lot of fonts. Print driver is OKIDATA OL400. Windows
is new to my machine (both winodws and machine (finally got rid of the old
XT)) so I do not have any old drivers. For some reason, I had no default
printer assigned, but PDW started right up this eve. Closed it and it started
again, no problem.
Even if the fonts were a problem, wouldn't the problem be consistent?
thanks for the response.
* Reply: 32580
#: 32580 S1/Miscellaneous
02-Jun-93 19:55:18
Sb: #32321-GPR
Fm: Robert Ramirez (Sysop) 76702,255
To: mike arm 73310,324
Hello Mike,
Glad your up a running... it most likely had to with having a default printer
assigned.
~Robert
Borland Tech. Support
#: 31989 S1/Miscellaneous
31-May-93 22:20:29
Sb: #Hangs after Deletion
Fm: Jim Norman 72212,2574
To: sysop (X)
Hi, I recently purchased Paradox for Windows to replace my address application
that I wrote in Foxbase. I sat down one weekend and blasted away, reading in
my Foxbase database, restructuring it and creating some forms to use it. I
then used <Ctrl><Del> to delete some long gone friends. The next time I
started up and tried to do a Search, I found that half the database had
disappeared, the system was hung and I had the message that everything but the
header was corrupt. This has happened to me twice in a row and am naturally a
bit reluctant to go through the whole process again without knowing what's
happening. If it helps, I'm running on a Dell 320sli with 10MB of Ram. Any
ideas? Jim Norman
* Reply: 32048
#: 32048 S1/Miscellaneous
01-Jun-93 10:36:08
Sb: #31989-Hangs after Deletion
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Jim Norman 72212,2574 (X)
Jim:
After you import the records into your Paradox table, but before you start
mass-deletions, restructure the table and click on the "Pack Table" box to
compress and rebuild it.
BTW, are you using the Paradox or dBase native table type? Whichever, try the
other to see if it makes a difference. (To convert from to other, simply
issue a "File - Utilities - Copy" and copy .DB to .DBF or v.v.
[Dan -> ]
#: 32001 S4/Forms
31-May-93 23:25:30
Sb: #Misc
Fm: Bradley Tubbs 70702,3245
To: sysop (X)
How can I delete a parent record and all of its dependents on a form?
* Reply: 32087
#: 32087 S4/Forms
01-Jun-93 12:33:15
Sb: #32001-Misc
Fm: Rick Fillman (Sysop) 76702,273
To: Bradley Tubbs 70702,3245 (X)
> How can I delete a parent record and all of its dependents on a
> form?
If you have definded Ref.Int between the Parent and child table,
you will have to delete the record(s) in the child table
(yourself) first.
Using OPal, this would go something like:
tc.attach(ChildTableObject)
tc.edit()
while tc.nrecords>0
tc.deleterecord()
; don't need to worry about moving the record pointer here
; if the deleteRecords works, the pointer advances to the next
; remaining record
endwhile
Rick Fillman, Tech Support (Borland)
#: 32005 S1/Miscellaneous
31-May-93 23:48:14
Sb: #PDOXWIN -VGA STACK FAULT
Fm: Harry Smith 72117,2055
To: SYS OP
I have just finished installing Paradox for Windows and for the last hour I
have been trouble shooting to make it run. The error message I receive is a
STACK FAULT in Module VGA.DRV at 0002:03A2.
I am running an Oak Tech VGA Bios Dv 2.17-351 and an American Megatrends Bios
date 2/2/91. Can anyone there help me to find the conflict. Right now
Paradox is useless to me because it won't run.
Thanks,
Harry
* Replies: 32296, 32310
#: 32296 S1/Miscellaneous
01-Jun-93 19:36:28
Sb: #32005-#PDOXWIN -VGA STACK FAULT
Fm: Mike Irwin/Co-Assist 100114,1437
To: Harry Smith 72117,2055 (X)
Harry,
no SysOp I, but ...
one thing a lot of people have had trouble with is hi-rez drivers. Try setting
Windows to use its own VGA driver and see if the problems go away. If so, get
the latest OakTech drivers from the MSL forum
hope this helps
Mike
* Reply: 32352
#: 32352 S1/Miscellaneous
01-Jun-93 23:39:28
Sb: #32296-PDOXWIN -VGA STACK FAULT
Fm: Harry Smith 72117,2055
To: Mike Irwin/Co-Assist 100114,1437 (X)
Mike,
Thank you for your help..your tip on the Oak Tech Drivers I will pursue..Let
me bring you up to date since I posted the message yesterday. I've narrowed
my problem down to my Win.ini file. Here's how I came to that conclusion. I
began tonite by stripping my config.sys and my autoexec.bat files down to the
bare necessities. My problem did not go away. I then dug down in my file
drawer and came up with a dos backup of my window files dated 6/29/92. I
renamed my current win.ini and system.ini files and restored both of these.
Guess what my problem went away. I then replace my 1992 system.ini file with
the 1993 file and still the problem was not there. I then replaced my 1992
win.ini file with the 1993 win.ini and there it was a stack fault in module
VGA.DRV AT 0002:03A2. I have not been able to pinpoint the exact area as yet
but at least I've narrowed the source.
Thanks again,
Harry
#: 32310 S1/Miscellaneous
01-Jun-93 20:04:58
Sb: #32005-#PDOXWIN -VGA STACK FAULT
Fm: Brian Reed (Sysop) 71333,2360
To: Harry Smith 72117,2055 (X)
Harry,
If you are using a 3rd party video driver switch to the Windows Standard VGA
driver. If the problem goes away using this driver contact the video card
manufacturer for an updated driver. Also check your config.sys file for the
line Stacks = 9,256, if it's not there, add it.
Hope this helps.
Brian Reed (sysop)
* Reply: 32354
#: 32354 S1/Miscellaneous
01-Jun-93 23:44:31
Sb: #32310-#PDOXWIN -VGA STACK FAULT
Fm: Harry Smith 72117,2055
To: Brian Reed (Sysop) 71333,2360 (X)
Brian,
I am using a Windows driver. I'm sorry to admit that it was the 3.0 driver,
but this didn't make any difference. I do have the 9,256 stacks line in my
config.sys. As I replied to Mike I think I have it narrowed down to my
WIN.INI file but as yet I'm not sure where. I leaning towards my color
schemes right now, but don't ask me why.
thanks,
harry
* Reply: 32570
#: 32570 S1/Miscellaneous
02-Jun-93 19:14:41
Sb: #32354-PDOXWIN -VGA STACK FAULT
Fm: Brian Reed (Sysop) 71333,2360
To: Harry Smith 72117,2055
Harry,
When you reinstalled your Windows driver did you delete the 3.0 driver off
your system first?
Brian Reed (sysop)
#: 32015 S1/Miscellaneous
01-Jun-93 00:39:03
Sb: #Graphics and Status Bar
Fm: Steven and Dawn Kei 71033,2676
To: all
I had posted a message here about a month ago about Paradox for windows
looking for a file called IBMGRX.DRV at startup. I have been unable to locate
this file on any other forum (IBM or Microsoft). Paradox for windows is the
only program that I have ever needed it for, so can you help me locate it???
Also, we are having a problem with the Status bar not showing in any window
under Paradox. You can kind of see the top of it but no character
information. We have tried resizing the window, maximizing, everything I can
think of but nothing gets the Status bar to display.... Can anyone help or
give me some ideas. I don't know if its related to the problem above
either....
Thanks.....
S.K.
* Replies: 32049, 32367
#: 32049 S1/Miscellaneous
01-Jun-93 10:36:12
Sb: #32015-#Graphics and Status Bar
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Steven and Dawn Kei 71033,2676 (X)
S.K.
I cannot answer the IBMGRX.DRV problem, but here is a solution for the other:
Make sure that your WIN.INI has the following line in the FONTS section:
HELV=MS SANS SERIF
[Dan -> ]
#: 32367 S1/Miscellaneous
02-Jun-93 01:29:11
Sb: #32015-#Graphics and Status Bar
Fm: Brian Bushay (TeamB) 76711,516
To: Steven and Dawn Kei 71033,2676 (X)
Steven
>Also, we are having a problem with the Status bar not showing in any window
>under Paradox. You can kind of see the top of it but no character
Do you have or have you ever had PageMaker installed on your system? It
installs some special fonts (that it doesn't seem to need) that cause the
status bar to have very tiny fonts.
Brian
* Reply: 32621
#: 32621 S1/Miscellaneous
02-Jun-93 22:52:20
Sb: #32367-#Graphics and Status Bar
Fm: Steven and Dawn Kei 71033,2676
To: Brian Bushay (TeamB) 76711,516 (X)
The status bar is exactly as you descrbe it. You can just see the top of it
but no characters. I have never installed pagemaker on this PC. The PC is
an IBM PS/2 Model P70.
Please let me know if you have any suggestions.
S.K.
* Reply: 32661
#: 32661 S1/Miscellaneous
03-Jun-93 02:33:47
Sb: #32621-Graphics and Status Bar
Fm: Brian Bushay (TeamB) 76711,516
To: Steven and Dawn Kei 71033,2676
Steven
>Please let me know if you have any suggestions.
There is probably some font in your system that is giving you problems.
If your running any Alternate font system like ATM try turning it of
There should be a section WIN.INI called [FontSubstitutes]
There has to be the following line in that section
Helv=MS Sans Serif
This is the font that Paradox wants to use in your status line.
for some reason that isn't what it is getting.
Also in the [Fonts] section MS Sans Serif needs to be defined and the font
file it is mapped to has to exist
If either of the above are missing then that is probably your problem.
Otherwise you can start commenting out anything but the above two lines that
looks like a font and isn't a true type font.
Another alternative is to Reinstall windows. You can then compare a Clean
Win.ini to your old Win.ini
Brian
#: 32032 S1/Miscellaneous
01-Jun-93 08:18:25
Sb: #Hello and a few Q's
Fm: STEVE RUDOLPH 71651,645
To: ALL
I'm new to the forum and would like to say hello.
I also have a few questions. 1. Is there a way to package a form so an end
user could use a database, but without Paradox (only windows)?
2. How do I attach checkboxes to data in tables? For example, I want to check
information for a record and have it register in a table. Would the table
need to be set to 'binary' as opposed to 'A'?
3. When I start up Paradox, I get a user message "Graphic file could not be
opened. What's that about?
* Reply: 32298
#: 32298 S1/Miscellaneous
01-Jun-93 19:36:50
Sb: #32032-Hello and a few Q's
Fm: Mike Irwin/Co-Assist 100114,1437
To: STEVE RUDOLPH 71651,645
Steve
0. Welcome here !
1. You package your forms, etc, so people don't nick your beautifully-crafted
code. There _will_, we are assured, be a runtime version which you distribute
a copy of with your applications (one per user, like DLLs, not one per app !)
The most recent note on this subject is today from Steve Neverve (SysOp):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> We have
not released a date for Run Time as of yet. However, we have announced a
developers licence that will take place of run-time until the its available.
We are authorizing the distribuion of P4W with your applications with the
purchase of this license. For more information you can contact our ordr line
at 800-331-0877.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2. When you pick a checkbox or a radiobutton you get something happening in
newValue() and, when you leave the field (for radiobuttons), in changeValue().
I've ben using a lot of radiobuttons lately, and like putting some validation
code in the radiobutton (otherwise just an unbound field) newValue() before I
send it off to the table. I also do things like moveTo()s depending on the
radiobutton choice.
3. Open P4W anain, choose the Properties main menu choice, and you'll see an
option to have some wallpaper on your desktop. You've almost certainly got
either an invalid filename in there, of a good filename, but of a file that's
been deleted or moved.
hope this helps
Mike
#: 32034 S1/Miscellaneous
01-Jun-93 08:33:28
Sb: #DEVELOPER PARTNERS PROG
Fm: Craig Bartkowiak 72162,1214
To: SYSOP (X)
How can I get more information about the Developer Partners Program?
What I am looking for is a "Partner" to help me develop applications in
Paradox for Windows. I have written 2 stand alone applications in Pdox 3.5
and a few suito applications (glorified data entry sessions). These
applications will be used in manufacturing. I am a manufacturing engineer and
my responsibilities are process management. I am also the MIS department
thus, I really need to shorten the learning curve.
Our company is not currently network and therefore the applications we create
will be on a stand alone system for the short term. In the next 12 to 18
months we plan to be networked although a defined platform and strategy has
not been developed. We are a small company of 60 to 70 employees
manufacturing advanced structural ceramics with sales of 7MM. Maybe the
first question I should have asked was, "Can Pdox fill our needs as a
database?"
My expectations of a partner would be one to also act as a tutor/mentor to
help me understand correct application development. As part of this
tutor/mentor role I would envision this partner developing some actual code
for the applications.
Can the Paradox Developer Partners Program fill these needs?
Craig Bartkowiak
Boride Products, Inc.
* Reply: 32368
#: 32368 S1/Miscellaneous
02-Jun-93 01:29:16
Sb: #32034-#DEVELOPER PARTNERS PROG
Fm: Brian Bushay (TeamB) 76711,516
To: Craig Bartkowiak 72162,1214 (X)
Craig
The Developers Partners program is a program to get additional support
options for application developers. There should have be a brochure in your
Box that PdoxWin came in. However the benefits offered do not include the
kind of mentoring program your after.
The number to reach the Developers Partners Program is 1 800 331-0877
Brian
#: 32069 S4/Forms
01-Jun-93 11:34:48
Sb: #Calculated Fields
Fm: Alan Deikman 70541,507
To: All
I have been having a bitch of a time trying to get a calculated field to work.
The field is contained in a TableFrame, and I want to call a library function.
Say the method in the library is
method XX(src String, dst String) string
return src + "/" + dst
endmethod
OK, so the page object declares the LIB variable, opens it in the OPEN method,
the USES template is there. I can access the XX method from the calculated
field by going:
XX("A", "B")
and I get "A/B" in every field of the tableframe. But I absolutely cannot get
any reference to a field in the data model to work when I substitute one for
one of the literals. I get an "error in calculated field" dialog box. Help?
* Reply: 32546
#: 32546 S4/Forms
02-Jun-93 17:48:25
Sb: #32069-#Calculated Fields
Fm: Rick Fillman (Sysop) 76702,273
To: Alan Deikman 70541,507 (X)
> cannot get any reference to a field in the data model
> to work when I substitute one for one of the literals.
Hmmm. Just what are you substuting for "A" or "B". Names of
fields, I take it? Did you use the Copy Button (that you see in
the Calc Field dialog) to insert the names of the fields?
If these questions don't lead you discovering the solution for
yourself, then please reply with an exact sample of something
(from your calc field spec) that fails.
Rick Fillman, Tech Support (Borland)
* Reply: 32722
#: 32722 S4/Forms
03-Jun-93 11:36:00
Sb: #32546-Calculated Fields
Fm: Alan Deikman 70541,507
To: Rick Fillman (Sysop) 76702,273
Rick,
I finally solved it by deleting the table frame and creating it from scratch.
Add this to your list of advice to new ObjectPAL programmers, such as myself:
"Thou shalt consider containership in object references"
As it turns out, in my editing and re-editing of the objects, I think I had
two objects using the same name, "address," including the name of a Paradox
data base field. Anyway, the object reference was not in the scope I thought
it was and the diagnostic from the dialog box was no help. Anyway, thanks for
your help.
#: 32070 S1/Miscellaneous
01-Jun-93 11:35:18
Sb: #Locate Speed
Fm: David Finley 71051,3511
To: All
I find the locate command is extremely slow when searching for data in my
database.
My database is a basic address table with approx 50,000 records. I am
searching for last names using Ctrl-Z. The last name field is the first field
in the structure, and is defined as the primary key - along with an ID number.
If I perform a locate for the value "nel..", it can take over a minute to find
a match. However, if I do a query with the same search term, it will produce
a result in a few seconds. Is this to be expected? I would think that since
the table is ordered by last name, it shouldn't take so long to find a match.
I am running a 486SX-25 with 8MB of RAM, with Smartdrv set to 512kb.
Also, is there an easy way to set an ID number field to a default value for
each record? For example, as the user is entering new records, I would like
the ID field to automatically be set to the ID value of the previous record
plus one.
Thanks in advance,
David Finley
* Reply: 32369
#: 32369 S1/Miscellaneous
02-Jun-93 01:29:21
Sb: #32070-Locate Speed
Fm: Brian Bushay (TeamB) 76711,516
To: David Finley 71051,3511 (X)
David
Unfortuanatly Zooms and locatates for values other than exact matches do not
use indexes.
If you can find the value by setting a Filter you will get fast results.
Filters use indexes
>Also, is there an easy way to set an ID number field to a default value for
>each record? For example, as the user is entering new records, I would like
Check out the Code on page 49 of the learning OPAL manual and/or page 282 of
the ObjectPal developers manual.
Brian
#: 32079 S4/Forms
01-Jun-93 12:11:18
Sb: #Zoom
Fm: george kwong 70031,427
To: all
Hi
Is there a way to use the "ZOOM" feature other than calling
MenuAction(MenuPropertiesZoomFitWidth). With the call to MenuAction(), this
function is not stable. There are two conditions when this call is not
functioning; the first condition is when the form is opened as Dialog, the
second is a customer menu is active.
thank you any one who can help george
* Reply: 32870
#: 32870 S4/Forms
03-Jun-93 17:53:41
Sb: #32079-Zoom
Fm: Rick Fillman (Sysop) 76702,273
To: george kwong 70031,427
> Is there a way to use the "ZOOM" feature other than
> calling MenuAction(MenuPropertiesZoomFitWidth).
When a custom menu is active, you can try
eventinfo.setid(MenuConstant)
Hope this helps.
Rick Fillman, Tech Support (Borland)
#: 32098 S4/Forms
01-Jun-93 12:48:15
Sb: #Form won't load
Fm: Leon Chalnick 72077,1421
To: all
I have set up an application that has forms calling other forms. The problem
I'm having is when calling any form from two (2) specific forms. I've got a
splash screen (form) that can call any other form in the system. But there are
two forms, that when they are on the workspace I cannot open any other forms.
I get a form open error (-30533). These two forms are the forms the
application are built around. They have the majority of the code, ,the
majority of fields, and are multi-page (one is 6 pages and the other is 4
pages). Everything works fine on the computers at my office, but when it was
installed at the client's, these problems appeared. We installed the
application on the client's network and have P4W on two workstations. On one
system it works ok (IBM model 80) but on the system we really need it, we
can't get it to function properly (IBM model 90). They're running Novel
netware 3.11 on an IBM Token ring. They have a windows shell program called
"applications manager" by automated design systems ver 4.1c. Files=100 in
both the config.sys and the netx.cfg. We don't have share running, but that
doesn't seem to be an option because the network administrator doesn't want to
put it on. Any suggestions would be appreciated
* Reply: 32547
#: 32547 S4/Forms
02-Jun-93 17:48:30
Sb: #32098-Form won't load
Fm: Rick Fillman (Sysop) 76702,273
To: Leon Chalnick 72077,1421
> I get a form open error (-30533).
This translates (using enumRTLconstants) to "peFormOpenFailed"
Lotta help, aren't I <weak grin>
So, anyway you could code the form.open like:
if NOT f.open("filename.fsl") then errorshow() endif
then we might be able to get to the underlying error.
Meanwhile, what about memory on this (particular) machine?. How
much RAM total. How much "avail.XMS" prior to starting Windows.
How much RAM does Windows report (ProgMan|Help|About)?
Rick Fillman, Tech Support (Borland)
#: 32113 S2/Install/CFG/HrdWare
01-Jun-93 13:37:59
Sb: #insuff.memory message
Fm: Lucy Jackson 71551,3335
To: sysop (X)
I left a message last week re: insufficient memory message, P4W won't load. I
received no reply. Someone else posted a message re: the same problem - no
reply there either, that I could see.
I used a clean boot, have 16M RAM. No go. One message referred to checking
the settings in PDOXWIN.INI . Guess what? I couldn't find PDOXWIN.INI . It
turns out that when I loaded P4W (on my F:\ drive with 28M free), my D:\ drive
with windows on it was nearly full. The Odapi files loaded in
D:\windows\system, but there must have been no room left for the .ini files on
the drive. I made some room on my \windows drive, re-installed, and
everythings ok.
So now you have another suggestion for people that can't get P4W to load: make
sure that the .ini files were installed.
And I have a suggestion for the P4W install program: As well as checking for
adequate memory on the destination drive for P4W, check for adequate memory on
the \windows drive for the system & .ini files.
I recall seeing something about BORSUG or some-such place for making
suggestions. I'll see if I can find it and post this INSTALL suggestion.
I'm sure there are _very_ few people who would find themselves in this
situation, but hopefully this would help them.
-Lucy
* Reply: 32582
#: 32582 S2/Install/CFG/HrdWare
02-Jun-93 19:55:29
Sb: #32113-insuff.memory message
Fm: Robert Ramirez (Sysop) 76702,255
To: Lucy Jackson 71551,3335
Hello Lucy,
Thanks for the information... I'm sorry that you didn't receive a reply. We
do try and answer all the questions but sometimes messages do slip by. We're
sorry for any inconvenience that this may have caused you and hope that we may
be of service to you at a later date.
~Robert
Borland Tech. Support
#: 32114 S3/Tables/TableView
01-Jun-93 13:48:33
Sb: #DE in a table with pic
Fm: Scott Strool 71022,260
To: All
How can i put a display format on a date field in a table and still enter data
into
the table. I have a date field that I only care about month and year, so I
have a picture ##/01/## and I set the display to mmm ####, So the table looks
like
Feb 1993 for dates 02/01/93. With the format on I get an error message
"Format is Display only. Need Day or Month". I enter the date as ##/##.
letting
Paradox fill in the slashes and the 01 for day. What is up with this?
* Reply: 32458
#: 32458 S3/Tables/TableView
02-Jun-93 12:21:49
Sb: #32114-DE in a table with pic
Fm: David Orriss Jr(Sysop) 75300,1414
To: Scott Strool 71022,260 (X)
Scott,
Looks like a design issue, the system will only allow a date format that
includes the Month, Day, and Year, but the date formatting system is still
letting you create a format of Month/Year. CIS mail me your address. I'm
going to log a report on it.
David
#: 32115 S4/Forms
01-Jun-93 13:50:45
Sb: #Default form pos and siz
Fm: Scott Strool 71022,260
To: All
If i size and postion a form to the way I want it and then save and reopen it
It does not go the the same size or position. I know I can position the form
with opal, but what about the size, Do I need to calculate that as well. I had
hoped that the form would know the size that it was saved with.
* Replies: 32393, 32407
#: 32393 S4/Forms
02-Jun-93 06:38:02
Sb: #32115-Default form pos and siz
Fm: GARY HANDLEY 100271,1164
To: Scott Strool 71022,260 (X)
Scott,
I had this problem too. If you go into design mode and zoom to 50% and select
the page you will see the page handles. Resize your form using these handles.
If you want it full size then make the page biggger than the screen.
Return to 100% Right click on the forms blue title bar and set the size to fit
property. Save, close and reopen your form. Voila!
This will work, good luck
Gary.
London.
#: 32407 S4/Forms
02-Jun-93 09:06:31
Sb: #32115-Default form pos and siz
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Scott Strool 71022,260 (X)
Scott:
You need to adjust the physical soze of the form using:
"Form - Page - Layout"
from the menus. Then, right-click on the form's title bar and make sure that
"Size-To-Fit" is checked.
[Dan -> ]
#: 32116 S4/Forms
01-Jun-93 13:52:13
Sb: #More information
Fm: Kenneth Sole 72113,3517
To: Quinn Wildman (Sysop) 76703,3033 (X)
Hi Quinn, I recently said that I would let you know if I had further
information about this blank field difficulty: a moment ago, while in edit
mode, and with a record on screen that was near the "end" of the sorted table
(that is a last name "Veneable", I used CRTL-Z locate to move to a record that
was near the "top" of the sorted table, that is, the last name "Beatrice."
When the Beatrice record came to screen, the detail field for the table
"Attended" appeared blank. As before, touching in succession PgDn then PgUp
caused that field to then reveal the two entries that it contained. In the
above description, I am certain of all the details. I look forward to your
help with this, as it is feeling rather serious. Thanks again, Kenneth
* Reply: 32548
#: 32548 S4/Forms
02-Jun-93 17:48:34
Sb: #32116-#More information
Fm: Rick Fillman (Sysop) 76702,273
To: Kenneth Sole 72113,3517 (X)
> When the Beatrice record came to screen, the detail
> field .. appeared blank.
Yes. If you first put the pointer back to the Top of the file,
this won't occur. That's one way of dealing with this situation.
Rick Fillman, Tech Support (Borland)
* Reply: 32575
#: 32575 S4/Forms
02-Jun-93 19:38:48
Sb: #32548-More information
Fm: Kenneth Sole 72113,3517
To: Rick Fillman (Sysop) 76702,273 (X)
Hi Rick, It seems to me that the difficulty that I am having is fundamental to
the use of the product. I certainly can appreciate difficulties that arise as
a user deals with the subtleties. I might be missing something but as of now
it seems that this problem is pretty basic.... Thanks for your efforts,
Kenneth
#: 32123 S4/Forms
01-Jun-93 14:40:26
Sb: #Index problem in form
Fm: Steve Askin 71307,2532
To: SYSOP (X)
I have a CONTACTS form which joins my CONTACTS (parent) and PEOPLE (child)
tables, both in *.DBF format. This morning, I tried to change one of the
indexes in the Contacts table. On attempting to save the changed index, I got
an error message.
Now, when I call up the CONTACTS form, I get this error message:
"Cannot open CONTACTS.DBF, Index does not exist, do you want to open it
without this index?"
If I choose yes, it opens and works just fine, though the index I was trying
to change is now missing.
If I open the Table, I get no error and no problems.
Why is this happening? What can I do to update my indexes?
* Reply: 32549
#: 32549 S4/Forms
02-Jun-93 17:48:40
Sb: #32123-#Index problem in form
Fm: Rick Fillman (Sysop) 76702,273
To: Steve Askin 71307,2532 (X)
> tried to change one of the indexes in the Contacts table.age.
What did you try to change about it?
> Now, when I call up the CONTACTS form, I get this error
> message: "Cannot open CONTACTS.DBF, Index does not exist, do
> you want to open it without this index?"
> If I choose yes, it opens and works just fine, though the
> index I was trying to change is now missing.
You'll need to get the index back to the way it was originally.
When you perform File|Utils|Restructure, just what is the current
index specification? Can you restore it to what it used to be?
I don't know if this help you ... but I don't have alot to go
on.
Rick Fillman, Tech Support (Borland)
* Reply: 32614
#: 32614 S4/Forms
02-Jun-93 22:16:10
Sb: #32549-#Index problem in form
Fm: Steve Askin 71307,2532
To: Rick Fillman (Sysop) 76702,273 (X)
Rick:
The definition has about five indexes for specific fields and one multi-field
(substring) index. As I should have mentioned, I'm working in Dbase format.
Since sending my last message, I erased and recreated some of the individual
indexes.
This seems to have solved the problem. However, I'm very nervous about it.
I'd like, for example, to create a second substring type index, but am afraid
that doing so could cause more errors.
Does this help you diagnose my problem any better?
* Reply: 32771
#: 32771 S4/Forms
03-Jun-93 13:18:02
Sb: #32614-Index problem in form
Fm: Rick Fillman (Sysop) 76702,273
To: Steve Askin 71307,2532
> Does this help you diagnose my problem any better?
First, I'm pleased to hear you are back on course.
One of the inherent differeces between dBASE & Pdox is that dBASE
allows indexs to be created using a dBASE *expression*. Paradox
tables do not allow this. Now, PdoxWin supports the use (of
course) of both Pdox and dBASE indexes.
HOWEVER, when dBASE indexes are used in linking, they need to be
indexes built on a single field value.
Does this help you?
Rick Fillman, Tech Support (Borland)
#: 32125 S3/Tables/TableView
01-Jun-93 14:45:07
Sb: #Key field
Fm: Kurt Schmidt 72360,2755
To: All
I am working my way into PdoxWin, so I am a novice. Keeping that in mind, I
wonder whether I am the only one who wishes that PdoxWin would have a special
"self-index" field type. Just about every table I create musthave an index,
if not for itself then because it needs to keep secondary indices updated. I
am getting tired of typying in the same code and setting up the same one field
- one record tables just to keep the index straight. With a special "index"
field type this could all be created without the intervention of the
programmer and would certainly save me a lot of repetetive work and a lot of
otherwise useless tables.
Now, I do understand there may be times when the programmer might like to deal
with the primary key himself. That's fine, then she could use N instead of I
(I propose the field type either I for index for K for key) and deal with it
helself. I think that would give a lot of flexibility and convenience to
PdoxWin.
What do you think?
Kurt
* Reply: 32404
#: 32404 S3/Tables/TableView
02-Jun-93 09:06:19
Sb: #32125-Key field
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Kurt Schmidt 72360,2755 (X)
Kurt:
I think you are asking for an auto-incrementing field, so that each record has
a unique ID. Many other developers have also asked for the same thing, and
Borland is aware of these concerns.
Meanwhile, you can very easily add this capability with just a little
ObjectPAL programming. Look in the Learning ObjectPAL manual for information
on "auto-incrementing" fields.
[Dan -> ]
#: 32168 S3/Tables/TableView
01-Jun-93 15:57:20
Sb: #Help for new user
Fm: John Roland 76667,3144
To: Sysop (X)
Please let me mention experience with databases prior to Paradox for Windows:
relatively none. I do have an understanding of database concepts, but have
never had hands on experience with a relational database. I need to create a
database using multi record layouts and was told that Paradox for Windows
would be best. So please don't laugh at the question that I am about to ask.
... For a simple example, how do you get Paradox to perform simple arithmetic
on certain fields? For example, you have the fields CHARGES, PAYMENTS,
BALANCE. How do you subtract PAYMENTS from CHARGES and have the answer
reported in BALANCE? I am very used to working in spreadsheets whereby all
you do is type in a formula and appply it to a range or column and all values
are updated automatically.
I am able to do this in a Form, but I am not able to have that reflected in
the table. I have gone through the manual many times, and the only place that
mentions what I want is chapeter 12 in the User's Guide, pages 445-447. It
mentions nothing about implementing this in a Table. Thank you for any help,
hints, or pointers.
* Reply: 32405
#: 32405 S3/Tables/TableView
02-Jun-93 09:06:22
Sb: #32168-#Help for new user
Fm: Dan Ehrmann (TeamB) 70007,4644
To: John Roland 76667,3144 (X)
John:
In relational databases, "derived" data is not stored. Your BALANCE field is
derived from CHARGES - PAYMENTS.
Instead, in a form or a report, you can create this data using a calculated
field which is virtual; it does not exist in the table, only the form or
report.
[Dan -> ]
#: 32193 S1/Miscellaneous
01-Jun-93 17:03:36
Sb: #General Faults
Fm: Cliff Missen 70742,1536
To: Brian Reed (Sysop) 71333,2360 (X)
Yo Brian!
I read with great interest your questions for Mr. Thompson regarding the
source of his GFs.
What I would truly love to see is a similar document that, instead of just
asking the questions, also offers the answers. (i.e. Is SHARE loaded high or
low? --> answer: load it low.)
A little more explanation will go a long way.
I have frequent Windows crashes on my machine and am recommending against PfW
for our network since I don't want to spend the bulk of my next year
experimenting with every machine on my net.
-- Cliff
* Replies: 32572, 32709
#: 32572 S1/Miscellaneous
02-Jun-93 19:14:51
Sb: #32193-General Faults
Fm: Brian Reed (Sysop) 71333,2360
To: Cliff Missen 70742,1536
Cliff,
There is an excellent document in the section 1 library that should help you
with this. Download document t1283.zip.
Brian Reed (sysop)
#: 32709 S1/Miscellaneous
03-Jun-93 10:35:38
Sb: #32193-General Faults
Fm: Weylan Wang -(Sysop)- 76702,1067
To: Cliff Missen 70742,1536
How about this?
What where you doing when you get this GPF and what module does this
occur in?
Do you have a printer selected as default?
You should have one selected that supports GRAPHICS.
Have you tried using standard VGA mode if you are runing an enhanced
viedo driver? This is something greater than (640x480) resolution
with more then 16 colors.
You should at least try to load the STANDARD VGA that comes with
Windows
at least once. You can always reload the original driver afterwards
once you locate the problem.
Do you have at least 4 megs extended of memory free after starting the
system and before starting Microsoft Windows?
The minimum requirements are 4 megabytes of FREE XMS memory before
you
start Windows. We still recommend that you should have 6 megabytes
of
XMS memory on the machine.
Do you have smartdrive set up?
If you have smartdrive set up, and have only 4 megs of ram total, is
it set for less then 512K?
Do you have SHARE loaded with the parameters of at least
'share /l:400 /F:4096'?
These parameters are REQUIRED and in the readme.
If you have SHARE loaded, do you have it loaded LOW or HIGH?
SHARE, not Paradox for Windows, is not happy being loaded HIGH in
some
instances. You should try loading it low first until the system is
stable.
If you have a network, did you load SHARE before the drivers or after
then network drivers?
It should be loaded first.
Are you using Norton desktop for Windows?
Norton desktop for Windows can interfear with the installation.
You may
want to uninstall Norton desktop for Windows, install Paradox for
Windows
and then reinstall Norton desktop for Windows back again.
Have you tried unloading other device drivers at least temporarily
before loading windows?
Are you running a screen saver like afterdark? There are DLL's
associated with afterdark that they have an update for.
Do you have a permanent swap file and is it set up to be in a non-compressed
partition?
If you are running DOS 6.0, you must have installed as a custom
installation or the system may put your permanent swapfile on the
compressed drive if you used compression. There is no way to
uninstall
the compression without reformating the drive so be careful when
installing DOS 6.0.
Are you running a PIM or something with alarms?
If you have more then 8 megs of RAM, have you tried running in
standard mode?
This can exclude other running programs that could be causing a
conflict.
Are you running a 3270 emulator or IRMA emulation?
You may need to disable the driver for the card or update the
driver.
Are you using WinFAX PRO? Do you have autoanswer
g([622Z!*600000000000XG23,CPS22(62U:Z00X3C6*72D.3
Z24o&2728*_V2X36R*GZ&20C&23,&Z26R"30C&2g
#: 32195 S1/Miscellaneous
01-Jun-93 17:04:57
Sb: #File Locking w/Netw Lite
Fm: Dinyar Wadia 71042,3411
To: All
I have (2) computers using Novell Netware Lite 1.1. Each computer has its own
Paradox licenced software. Both computers can access all files with no
problem. The problem is that the record locking does not appear to be
operating. Both computers can access the same record and the status line says
that it is locked on both machines, but the record can be editted on both
machines. If I move off the record on each machine, and back to the record,
each machine maintains its own version of the record, I am not sure which
version gets saved in the end. Hopefully this will all make sense to someone.
Please help.
* Reply: 32371
#: 32371 S1/Miscellaneous
02-Jun-93 01:29:31
Sb: #32195-File Locking w/Netw Lite
Fm: Brian Bushay (TeamB) 76711,516
To: Dinyar Wadia 71042,3411 (X)
Dinyar
>each machine maintains its own version of the record, I am not sure which
>version gets saved in the end. Hopefully this will all make sense to someone.
>Please help.
You need to have DOS share loaded on both machines.
In the Config Utility
You need to have "Local share On" checked.
You need to both machines configured to use the .net file in the same
Physical location.
Brian
#: 32204 S1/Miscellaneous
01-Jun-93 17:21:23
Sb: #Large-scale Database
Fm: Brendan Delumpa 72410,520
To: ALL/Tech Support
My company is in the process of putting together a proposal for a customer who
will require a very large database (> 2GB in size), once all the records have
been converted or input. We have a concern that that size of database may bog
down PdoxWin, so we are looking for alternative solutions, still using
PdoxWin. I suggested that we connect to a dedicated database server, accessing
the data from a Paradox for Windows client environment. However, how
realistic is this? or is the native PC environment suitable for a database
this size? Any input you can give would be appreciated.
Brendan
* Reply: 32399
#: 32399 S1/Miscellaneous
02-Jun-93 08:22:12
Sb: #32204-Large-scale Database
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Brendan Delumpa 72410,520 (X)
Brendan:
You may have trouble managing this much data in Paradox. Paradox tables are
limited to 256megs each, although memo, graphic and binary data is stored in
separate files.
However, using Paradox as a front-end to a database-server (running under the
"client-server model") is a highly appropriate solution to your problem. The
data resides on a server which is designed to handle huge volumes of
information, with all of the integrity management and tools that you expect
and need. Paradox is used as the front end, for data entry and editing,
queries and reporting, and to present an attractive and functional UI.
Unfortunately, Paradox does not yet work as a front-end to database servers.
Borland has said publicly that they are working on this technology, and it has
even been demonstrated at a number of public meetings. When it is available
(and I'm guessing it will be within 3-4 months), you will be able to use
Paradox as a front-end to Oracle, MS Sybase SQL Server, and Borland's own
Interbase. In future versions, Borland promises support for other popular
database servers, including perhaps OS/2, DB2, Informix and others.
If you would like more information, a good source would be your local Borland
office, where a Systems Engineer can provide details that may not available
here on a tech support forum.
[Dan -> ]
[Dan -> ]
#: 33771 S1/Miscellaneous
08-Jun-93 08:37:53
Sb: #33481-#Large-scale Database
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Brendan Delumpa 72410,520 (X)
Brendan:
Re: client-server functionality. I don't know what kind of rewrites will be
necessary, but I think it will be minimal. Borland's objective is to
implement data transparency, so that your information can reside virtually
anywhere and you can still run the same applications against it.
A lot will depend on the functionality in the underlying server. For example,
if the server does not support scrollable cursors, it will be very difficult
for Paradox to implement a tableview - type browse facility.
Re, Kallista, We currently offer an ObjectPAL class that is an introduction.
But it also includes many advanced topics. We are always working to improve
our training offerings and will have news soon.
[Dan -> ]
#: 33966 S1/Miscellaneous
08-Jun-93 19:34:16
Sb: #33839-Large-scale Database
Fm: Brendan Delumpa 72410,520
To: T. Pat Kelly 6121,47
T. Pat,
What a great idea! Kind of a forum type of class. Kind of reminds me of
graduate level classes at school. However, I should qualify my request for an
advanced class by saying that in addition to having strong PDOXDOS background,
attendees should have a strong background in OPAL as well. I was thinking
that this type of class would be geared more towards advanced application of
the language.
Brendan
#: 32206 S1/Miscellaneous
01-Jun-93 17:26:01
Sb: Employment Opportunities
Fm: Borland Customer Service 76701,101
To: All
The following employment opportunities are currently available at Borland:
Senior Software Engineer - C/C++ Compiler
International Quality Assurance Engineer - dBASE for Windows
International Quality Assurance Engineer - Paradox for Windows
Senior Technical Writer - dBASE for Windows
Senior Technical Writer - Online Help
Senior Technical Writer - CBT
If you are interested in any of these opportunities, please view the job
descriptions under GO BOR-144 or choose Employment Opportunities from the main
GO BORLAND menu. Please contact only the person listed at the bottom of each
job description for additional information or to apply.
Thank you.
#: 32208 S4/Forms
01-Jun-93 17:43:52
Sb: #Index for multi Table
Fm: Martin 100270,3472
To: all
Hi,
I have a multi table form woith two dependant tables and one main table. I
want one of the dependant tables to be shown in a descending order (in my
example: the last contact to a customer should be shown first).
How is this possible ?
First: I cannot define a displa index for a dependant table like I can for a
main table. Or ?
Second: How can I define descending primary index ?
Thanx
Martin
* Replies: 32317, 32552
#: 32317 S4/Forms
01-Jun-93 20:27:33
Sb: #32208-Index for multi Table
Fm: Bill Todd (Kallista) 75046,1345
To: Martin 100270,3472 (X)
You can not use a secondary index to set the viewing order of a detail (child)
table in a multitable form. Also you can not define a descending index in
Paradox.
If you need to see the table in descending order by date you will have to put
an additional numeric field in the table and calculate the number in the field
as Number(1/1/3000 - myDate). That will give you a field you can use in the
primary key that will cause the table to appear in descending order.
Bill
#: 32552 S4/Forms
02-Jun-93 17:48:50
Sb: #32208-Index for multi Table
Fm: Rick Fillman (Sysop) 76702,273
To: Martin 100270,3472 (X)
> Second: How can I define descending primary index ?
One small addendum to Bill's excellent answer.
dBASE tables (supported by PdoxWin) WILL allow you to define a
descending index.
Rick Fillman, Tech Support (Borland)
#: 32211 S1/Miscellaneous
01-Jun-93 17:48:59
Sb: #Locking Error WFWG
Fm: Martin 100270,3472
To: ALL
Hi,
I have the following problem using PDOXWIN on a network without a dedicated
server:
When two people use the same form on their stations the one doing it on the
server gets a "locking error" (?, In German this is called "Sperrenfehler")
almost every time he tabs from one dependant table to another using Super-Tab
in this multi table form.
As you have already guessed the network is Windows for Workgroups. It's easy
to say that this is WFWG's fault but can this error also be caused by my
programming ?
I think it's needless to ask for a solution but is there anny ?
I also missed the complete discussion about PDOXWIN and Windows for
Workgroups. Where is the exact problem ?
Thanx
Martin
* Reply: 32400
#: 32400 S1/Miscellaneous
02-Jun-93 08:22:17
Sb: #32211-Locking Error WFWG
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Martin 100270,3472 (X)
Martin:
The exact problem is that Windows for Workgroups does not return a username
when Paradox requests one. Paradox also provides no way for you to configure
a unique username from within the program.
[Dan -> ]
#: 32214 S3/Tables/TableView
01-Jun-93 18:04:11
Sb: #cannot create struct
Fm: Washington Public Power 72360,1774
To: Sysop (X)
Howdy, sysops.
Am trying to restructure a fairly complex table -- 50 fields, 4 secndxs, and 4
referential integrity relationships coupled with corresponding table lookups.
PFW is choking. I get a message that says "cannot create struct.db".
Luckily, I am working with an empty copy of my data table.
I tried deleting struct.db and the .lck files, to no avail.
Any suggestions?
Norm Bowler
* Reply: 32459
#: 32459 S3/Tables/TableView
02-Jun-93 12:21:53
Sb: #32214-#cannot create struct
Fm: David Orriss Jr(Sysop) 75300,1414
To: Washington Public Power 72360,1774 (X)
Norm,
Check your private directory setting. It sounds like you are trying to use
a network volume for your private directory. If you are you may not have
enough rights in that directory. If you do have your private directory set
to a network volume, try resetting it to a local hard drive and try again.
David
* Reply: 32498
#: 32498 S3/Tables/TableView
02-Jun-93 14:35:43
Sb: #32459-cannot create struct
Fm: Washington Public Power 72360,1774
To: David Orriss Jr(Sysop) 75300,1414 (X)
David:
You are right, my :priv: is on a network volume, but I have exclusive rights
to the directory, and PFW is unable to create struct for this table only.
This is not an access rights anomaly. It is a corrupt table anomaly. Dang!
I just deleted it. I should have sent it to you guys.
Nerm
#: 32293 S1/Miscellaneous
01-Jun-93 19:23:30
Sb: #3.5 tables in ObjectPAL
Fm: Bryden Ritchie 100021,2434
To: Weylan Wang -(Sysop)- 76702,1067 (X)
Relating to the thread in Msg 31342, regarding table creation, I know you can
create a 3.5 format table in Pdox Windows using the "front Panel", however do
you know how to create one vial ObjectPAL. There is a method which looks like
it should work, create 'tablename' [, as "tabletype"] - should do the biz, but
the only "tabletype"s that are mentioned are PARADOX or DBASE! Do you know if
there is a proper tabletype for paradox 3.5 tables, or is there another way to
do this? Sorry if this is in the wrong place !Ta
:-)
* Reply: 32708
#: 32708 S1/Miscellaneous
03-Jun-93 10:35:30
Sb: #32293-3.5 tables in ObjectPAL
Fm: Weylan Wang -(Sysop)- 76702,1067
To: Bryden Ritchie 100021,2434 (X)
Yes, this is the wrong place to ask about OPAL and tablecreation through OPAL.
There is no way to create a Paradox 3.5 table through OPAL though. You have
to go through the creation interactivly to get one or use one already made.
That is one way for you. Create the the table empty. Then when you want that
one through OPAL, you make a copy of it and fill the table.
-(Weylan Wang)-
-(Borland Paradox Technical Support)-
#: 32312 S1/Miscellaneous
01-Jun-93 20:16:01
Sb: dBase file woes
Fm: Andrew J. Marshall 72223,330
To: all
To Borland Paradox for Windows Technical Support:
(or anyone who might have an answer to my problem)
Here is my situation:
I have about 20 dBase tables with order information
(each table is one clothing brand)
I believe all of them have over 300 fields
Three of the fields in each table are of inportance to me:
Bill To, Order Month and Order Total
I want to do the following:
On one report, create the following table where each cell is the
Order Total for that month and table
Jan_____Feb_____March___April___etc.____etc.__
_Total___
Table1 |_______|_______|_______|_______|_______|_______|_______|
Table2 |_______|_______|_______|_______|_______|_______|_______|
Table3 |_______|_______|_______|_______|_______|_______|_______|
etc. |_______|_______|_______|_______|_______|_______|_______|
etc. |_______|_______|_______|_______|_______|_______|_______|
Total |_______|_______|_______|_______|_______|_______Grand Total
I think all I need to do is create the logical summation,
but I don't know how or if it's even possible?
eg. cumulatively sum Order Total for all records
where Order Month = 1
On a similar subject:
If the 20 tables I had were in Paradox for Windows format,
and they all had the fields Order Month and Order Total
(that were exactly the same format), would there be a way I
could "group on" Order Month to produce sums of Order Total
for each table.
If there is anyone who thinks they can help me, I would greatly appreciate it.
Please mail me your suggestions at ?????,????
Thank you,
Andrew Marshall
#: 32325 S4/Forms
01-Jun-93 21:03:36
Sb: #Forms
Fm: Frank Punzo 72262,350
To: Frank Punzo
A few problems.... 1) I would like to be able to double click an icon from
windows & have it open a Paradox form without having
to go to Paradox first & choose "File", "Open".
Also, I would like to attach some type of method to an
"Exit" button which will close the form & exit to
windows. Is this possible? If so, how? 2) I have a form with a 1 to many
relationship displayed.
When I tab past the last field on the "1" part of the
form to the first field on the "Many" part of the form,
I can't Backtab to the last field on the "1" part of the
form. 3) Is there any way to disable the scroll bars on a form? 4) How do
you change the order in which EditRegions receive
focus when the tab key is pressed in a form?i
* Reply: 32336
#: 32336 S4/Forms
01-Jun-93 22:35:52
Sb: #32325-Forms
Fm: Eddy Bernosky 70544,1777
To: Frank Punzo 72262,350 (X)
Hi Frank
#1 To Start a form in Windows Program Manager in
File|Properties|CommandLine add The name of the form to start after the *.exe
i.e. pdoxwin.exe myform.fsl
To Exit PDoxwin from a form Use
If MsgYesNoCancel("EXIT PARADOX","Close Paradox ?") = "Yes" Then
;anything befor exit goes here
exit()
endif
Eddy
#: 32544 S4/Forms
02-Jun-93 17:26:34
Sb: #Forms
Fm: Jon Jacobs 74017,3611
To: All
I have a form in which the user can locate a record in a certain table. A
butt button on the form launches another form bound to the same table plus an
associated detail table. How can I make the 2nd form contain the same record
that was selected in the first form? --Jon
* Reply: 32767
#: 32767 S4/Forms
03-Jun-93 13:17:43
Sb: #32544-Forms
Fm: Rick Fillman (Sysop) 76702,273
To: Jon Jacobs 74017,3611
> How can I make the 2nd form contain
> the same record that was selected in the first form?
Something like the following the way I prefer to do this.
Assumes a Tcursor var named tc, and a Form var names form2nd,
; open and position a tcursor, so tcursor pointer is on current record
tc.attach(UiObjectInFirstForm)
; the next line you already have, I suspect
form2nd.open("OtherFrm")
; for the display Object in the 2nd form to point to the
; same record that the tcursor is "seeing"
form2nd.UiOjectInSecondForm.resync(tc)
; finally
form2nd.wait()
Hope this helps.
Rick Fillman, Tech Support (Borland)
#: 32328 S3/Tables/TableView
01-Jun-93 21:16:46
Sb: #import fixed text
Fm: roy cotton 73042,605
To: all
help. while importing file of fixed length text of the import form (f1,a,1,2)
(f2,a,3,1) (f3,a,4,1) and (f4,a,1,8) where field 4 overlaps (f1,f2,f3) i lose
date (the first 3 characters of f4). if i do it a second time,after cleanup,
of the form (f1,a,1,8) (f2,a,1,8) i lose the 8th byte of f2. if i do it
(f1,a,1,8) (f2,a,1,9) i get the field twice correctly in the db. Can you load
ovelapping fields, if so how.....thanks Roy Cotton
* Reply: 32460
#: 32460 S3/Tables/TableView
02-Jun-93 12:21:59
Sb: #32328-import fixed text
Fm: David Orriss Jr(Sysop) 75300,1414
To: roy cotton 73042,605 (X)
Roy,
Paradox doesn't handle overlaps in data for ascii import. You might want
to look into programs like Data Junction or Kallista's Conduit and see if
they possess that functionality.
David
#: 32331 S1/Miscellaneous
01-Jun-93 22:08:31
Sb: #Help works now!
Fm: Bill Bragg 75450,2170
To: sysop (X)
I've finally figured out what attribute of my system causes the PDOXWIN help
not to work. Guess what it was ... c'mon guess ! NO, wrong answer. The help
in my PDOXWIN won't come up if I'm in 256 color mode. When I go to 16 color
mode, it works just fine. However, the regular MS Help viewer works just fine
in 256 color mode. It's just that when I'm in 256 color mode, PDOXWIN won't
call up the help viewer. There now, you've got a lead to the problem. Ready
... Set ... fix! Have fun! --Bill Bragg
#: 32343 S3/Tables/TableView
01-Jun-93 22:56:42
Sb: #Assigning ID Numbers
Fm: David GoWell 75236,106
To: All
I have a lot of data in tables that I need to convert to PW.
I want to assign unique ID Numbers to these records to serve as
Primary Key. Once each record has an ID_Num, I know there are ways to
increment each new ID_Num. But to get started, can I assign the Record Number
to the ID_Num field? Any help in the area of ID Numbers, unique Keys,
incrementing, etc., would be greatly appreciated.
* Replies: 32406, 32419
#: 32406 S3/Tables/TableView
02-Jun-93 09:06:28
Sb: #32343-Assigning ID Numbers
Fm: Dan Ehrmann (TeamB) 70007,4644
To: David GoWell 75236,106 (X)
David:
Import your data into an empty, unkeyed table. Then restructure the table and
add an ID field at the beginning, still unkeyed.
Then create the following script:
var
TC TCursor
endvar
TC.open("YourTable")
TC.edit()
scan TC:
TC."YourIDField" = TC.recNo() ; check this method name
; I don't have a manual handy
endscan
TC.endEdit()
TC.close()
[Dan -> ]
#: 32419 S3/Tables/TableView
02-Jun-93 09:23:29
Sb: #32343-#Assigning ID Numbers
Fm: Bill Todd (Kallista) 75046,1345
To: David GoWell 75236,106 (X)
Assigning the record number to the ID field is as good a way to start as any.
Bill
* Reply: 32603
#: 32603 S3/Tables/TableView
02-Jun-93 21:47:24
Sb: #32419-#Assigning ID Numbers
Fm: David GoWell 75236,106
To: Bill Todd (Kallista) 75046,1345 (X)
Thanks for the quick reply but I think I need it spelled out a little more.
How do I assign the record number to the ID Field?
(You might check out Message # 32406 from Dan Ehrmann, I haven't tried his
solution yet, but I will.)
* Reply: 32692
#: 32692 S3/Tables/TableView
03-Jun-93 09:43:03
Sb: #32603-Assigning ID Numbers
Fm: Bill Todd (Kallista) 75046,1345
To: David GoWell 75236,106
To assign the record number to a field in the record for all of the records in
a table do the following.
var
tc TCursor endVar
tc.open("myTable") tc.edit() scan tc:
tc."Key Number Field" = Number(tc.recNo()) endScan tc.endEdit() tc.close
This assumes that the field Key Number Field is of type Number.
Bill
#: 32346 S1/Miscellaneous
01-Jun-93 23:03:42
Sb: #Crash
Fm: JAMES HASWELL 75040,100
To: sysop (X)
Thanks for the suggestion to download the latest video drivers. I still can't
get images to display correctly on my Diamond card, but my ATI Ultra works
great.
Now I am having another problem. The system keeps crashing when I go from
Form Design to View. I am trying to display 4 images on the screen at once as
well as some text. I have a 486 33Mhz with 8 Mb of RAM. The system
completely locks up, CTRL-ALT-DEL doesn't even take me the windows crash
window but completely reboots the machine. Any suggestions?
Thanks,
Jim
* Reply: 32474
#: 32474 S1/Miscellaneous
02-Jun-93 12:54:56
Sb: #32346-Crash
Fm: Steve Neverve (Sysop) 71333,114
To: JAMES HASWELL 75040,100
James,
Does this happen on this form only or can you duplicate it on multiple
forms? What if you only have 3,2,1 immages? If you are running any memory
resident programs, remove them from memory. Do you have a swap file and is
it permanant? If no, create one and make it permanant. For additional
information, you can refer to TI1283.ASC in LIB1.
Steve
#: 32353 S4/Forms
01-Jun-93 23:41:57
Sb: #Detail Object Updating
Fm: Mark Olbert 73557,1512
To: Sysop (X)
I have a form based on the following data model:
A -->B
+-->>C-->>D
The '>>' indicates a 1 to M linkage (which I think is the 'syntax' used in
PdoxWin).
When I scroll through the form normally, the master and allof the details
update normally. But when I do a Ctrl Z on a field in 'A', the A object
updates but the B, C and D objects are set to some kind of end of file/new
record condition (woops, I forgot to mention this occurs in edit mode). I can
display the data in the B, C and D objects by either manually doing a HOME on
each of them, or by inserting a UIObject.home() function in the action()
method for the A object (on a DataArriveRecord event).
Why should I have to do this? Why don't the detail objects display the first
record in their restricted sets?
????Mark????
* Reply: 32554
#: 32554 S4/Forms
02-Jun-93 17:49:00
Sb: #32353-#Detail Object Updating
Fm: Rick Fillman (Sysop) 76702,273
To: Mark Olbert 73557,1512 (X)
For the time being, the reliable way to get the records on the
detail table to appear (following a successful Ctrl-Z search in
the Master table) is to start that search from the first record
of the master table. You _could_ move the record pointer to the
first record in the table.
Here's a piece of ObjectPal code you can you to make that
automatic. Attach this to the Action Method of the form:
; --- along the way to MenuLocateRecordValue,
; move pointer to top, first
if eventinfo.id()=dataSearch then
; move pointer to top of file
home()
endif
Hope this helps.
Rick Fillman, Tech Support (Borland)
* Reply: 32646
#: 32646 S4/Forms
03-Jun-93 01:15:02
Sb: #32554-#Detail Object Updating
Fm: Mark Olbert 73557,1512
To: Rick Fillman (Sysop) 76702,273 (X)
Fascinating. Is this a WAD or a buglet? In either event, what's odd is that
the problem doesn't occur in all forms..
BTW: does dataSearch get sent to the action() method when you start the
search from the menu, or just when you do a Ctrl-Z?
- Mark
* Reply: 32774
#: 32774 S4/Forms
03-Jun-93 13:18:17
Sb: #32646-Detail Object Updating
Fm: Rick Fillman (Sysop) 76702,273
To: Mark Olbert 73557,1512
> does dataSearch get sent to the action() method when you
> start the search from the menu, or just when you do a Ctrl-Z?
Either. That's why I used dataSearch (rather than checking for
the MenuRecordLocateValue) constant. The phenonmenon should
appear in any form, BTW.
Rick Fillman, Tech Support (Borland)
#: 32355 S1/Miscellaneous
01-Jun-93 23:46:02
Sb: calculating fields
Fm: larry eckenrod 73140,3237
To: all
I have created a field in a table that I want to use math on fields in
the same table and some fields in another table. I put this field on a form
and try to put the equation in but it has to be a special field. This field is
physically part of a table not just an object created on a form. There are key
fields in each that will link the two together.
Any help would be appreciated.
larry eckenrod
#: 32361 S4/Forms
02-Jun-93 00:36:29
Sb: #Losing kb in rpt/fm edit
Fm: Tres Seaver 76440,3320
To: All
Has anyone else out there lost the keyboard interrupt handler altogether under
P4W? Several times, esp. while iteratively editing forms & reports, I have
had the keyboard go _DEAD_; I can shut P4W and Windows down using the mouse,
but have to reset the machine to get the keyboard back.
This has happened on both my machine at the office and at home -- any
suggestions?
Thanks,
Tres Seaver, Houston, Texas.
* Replies: 32421, 32555
#: 32421 S4/Forms
02-Jun-93 09:23:39
Sb: #32361-Losing kb in rpt/fm edit
Fm: Bill Todd (Kallista) 75046,1345
To: Tres Seaver 76440,3320 (X)
Interesting. I have had the same thing happen a couple of times but it has
been so rare that I wrote it off to gremlins<g>.
Bill
#: 32555 S4/Forms
02-Jun-93 17:49:04
Sb: #32361-Losing kb in rpt/fm edit
Fm: Rick Fillman (Sysop) 76702,273
To: Tres Seaver 76440,3320 (X)
> I have had the keyboard go _DEAD_;
I haven't heard this of anyone reporting this type of condition.
Can you provide more detail? Is there any pattern to what (your
havt to do that) triggers this?
Have you set your Speedbar to be "Floating" by any chance?
Rick Fillman, Tech Support (Borland)
#: 32365 S4/Forms
02-Jun-93 01:05:04
Sb: #graph
Fm: jeff wright 76104,224
To: all
Is there any way to suppress markers in line graphs? I want a plain line
thout markers.
* Reply: 32526
#: 32526 S4/Forms
02-Jun-93 15:24:43
Sb: #32365-graph
Fm: Kenneth Sole 72113,3517
To: jeff wright 76104,224
Hi Jeff, In a word: "Nope." They cannot be eliminated. We ended up choosing
the marker that looks like a "+" as it seems to be the least obtrusive.
Kenneth
#: 32416 S2/Install/CFG/HrdWare
02-Jun-93 09:23:05
Sb: #memory resource problem
Fm: Gary Spinelli 75600,1201
To: sysop (X)
I have a 486/33 with 8MB of RAM. It seems I can't run any other Windows
application while Paradox for Windows is running. I always get a "not
enough memory to run application" error message. Can it be that Paradox
is that much of a memory pig that I have to completely exit Paradox in
order to run any other application?
* Replies: 32444, 32461
#: 32444 S2/Install/CFG/HrdWare
02-Jun-93 11:42:11
Sb: #32416-memory resource problem
Fm: Greg Salcedo 73707,572
To: Gary Spinelli 75600,1201
No, Gary! It's something in your setup. Many of us are running 3-6 other
applications at the same time. Show us your AUTOEXEC.BAT and CONFIG.SYS.
Greg
#: 32461 S2/Install/CFG/HrdWare
02-Jun-93 12:22:33
Sb: #32416-memory resource problem
Fm: Brian Bushay (TeamB) 76711,516
To: Gary Spinelli 75600,1201
Gary
>I have a 486/33 with 8MB of RAM. It seems I can't run any other Windows
>application while Paradox for Windows is running. I always get a "not
>enough memory to run application" error message. Can it be that Paradox
There are a lot of people running Pdoxwin on 8 meg configurations so you
should be able to do so as well.
Look at this Problems list and see if anything applies to your configuration
Do you have a printer selected as default?
Have you tried using standard VGA mode if you are running an enhanced
viedo driver? This is something greater than (640x480) resolution
with more then 16 colors.
Do you have at least 4 megs extended of memory free after starting the
system and before starting Microsoft Windows?
Do you have smartdrive set up?
If you have smartdrive set up, and have only 4 megs of ram total, is
it set for less then 512K?
Do you have SHARE loaded with the parameters of at least
'share /l:400 /F:4096'?
If you have SHARE loaded, do you have it loaded LOW or HIGH?
If you have a network, did you load SHARE before the drivers or after
then network drivers?
Are you using Norton desktop for Windows?
Have you tried unloading other device drivers at least temporarily
before loading windows?
Are you running a screen saver like afterdark? There are DLL's
associated with afterdark that they have an update for.
Do you have a permanent swap file and is it set up to be in a non-compressed
partition?
Are you running a PIM or something with alarms?
If you have more then 8 megs of RAM, have you tried running in
standard mode?
Are you running a 3270 emulator or IRMA emulation?
Are you using WinFAX PRO? Do you have autoanswer turned on?
Are you using Wired 4 Sound?
All these things can affect performance and stability of your system
and these are only some of the more standard things that can be a
problem.
Does your shell command have enough environment space or have a /e:2048 as the
parameter?
Are you using a 3rd party video driver or enhanced video card?
Are you using Crystal fonts?
What version of DOS are you using?
Some or all of these things listed above can be the problem. You should try
any of the suggested things above or eliminating these things if you can and
see if the problem is reproducable after.
Brian
#: 32443 S3/Tables/TableView
02-Jun-93 11:41:08
Sb: #Sorting
Fm: Ron Smeathers 70043,3500
To: sysop (X)
We have had very little luck sorting a table from a method. In fact we have
tried countless different things (3 programmers) and have been unable to do
it. Any help? Thanks Pat
* Reply: 32449
#: 32449 S3/Tables/TableView
02-Jun-93 11:46:37
Sb: #32443-Sorting
Fm: Greg Salcedo 73707,572
To: Ron Smeathers 70043,3500
Not the sysop, Ron, but...
- Could you show us a bit of the code you've tried so far? - Are you using
tCursors? Do you reSync the tCursor? - Are you 'showing' the data in a form or
tableView? - Do you have different indexes for each type of sort?
Let us know...
greg
#: 32453 S4/Forms
02-Jun-93 12:02:03
Sb: Date conversions
Fm: Smits Paul 100270,655
To: All
Dear All, Hello "Dateconversion" specialists,
I have "date conversion" problems. Can you please help?
I have a table, and (part of) the key is of type date. I have made a method
(listing follows) that displays only part of it (with specific date).
In windows I specified the format D/M/Y. I also did this in the ODAPI
(SYSTEM|FORMATS|DATE|...). I've tried to change this last one. I couldn't
observe any effect. What is the use?
My table displays (correctly) D/M/Y. The sort order proofs it. Now what is
wrong? 1) The msgInfo Procedure displays M/D/Y (wrong). 2) The Filter doesn't
work (it selects all rows of the table). 3) The Order/Range of the form is
filled in: 011893 (very wrong).
Funny effect: if I change date into 01/02/93 in the method. I get all rows
correctly (for 1 feb 93). But I can't do this for 18 jan 93: The method
won't execute.
Kind Regards, SMITS Paul ============= Start listing method ===============
method depart(var eventInfo MoveEvent)
var
tblObj UIObject
dag Date
endVar
dag=Date("01/18/93")
if tblObj.attach ("PJTIJD") then
message ("Aantal dagen:", Number (Date("01/20/93")-dag)) ; Displays 2.00
tblObj.setFilter ("AG", dag, dag)
msgInfo ("Total recrods for dag "+ String (dag), tblObj.nRecords ())
else
msgStop ("Sorry","Can't attach to table.")
endIf endmethod =============== End listing method ===============)
#: 32454 S1/Miscellaneous
02-Jun-93 12:02:57
Sb: #Object Inheritance
Fm: marc manley 73150,1166
To: all
Is object inheritance supported in P4W? I've searched the manuals but find
nothing on this. Specifically, I would like to define a base form for editing
tables. It could contain, for example, several control buttons (exit, add
new, edit, delete, etc.) plus a custom speedbar for displaying table records
(next, previous, etc.). Once this object has been defined, I could then use
it as the base form for a variety of different tables. And then, if a change
was necessary to one of the common objects (for example, adding a control
button), then the change could be made to just the parent form.
Is this possible with P4W? I sure hope so.
* Reply: 32608
#: 32608 S1/Miscellaneous
02-Jun-93 21:58:10
Sb: #32454-#Object Inheritance
Fm: Michael Lant 71643,540
To: marc manley 73150,1166 (X)
There is no object inheritance in P4W but there are a lot of other ways of
accomplishing what you are trying to do with other techniques. For instance
you can create a simple base form and clone copies of it and then go into the
data model of each form and change the msater table. The cathc here is that in
order to minimize your work, you should have the same field names in the two
tables. If you can't have the same names you can still reassign them.
I am working on a generic driver that places all important code either at the
form level, or in libraries. By trapping for every event at the form level and
calling procs from a library, I can make a change to one proc and have that
change become global to every object of the same class throughout the system.
I know its not quite OOP but its the next best thing.
Michael Lant
* Reply: 32730
#: 32730 S1/Miscellaneous
03-Jun-93 12:07:02
Sb: #32608-Object Inheritance
Fm: marc manley 73150,1166
To: Michael Lant 71643,540 (X)
Thanks for your thoughts. It's unfortunate that Borland hasn't implemented a
more robust object-oriented environment in P4W - it's a great tool otherwise
(except for processing speed). It seems for now we'll have to use the same
type of technics I've always used in Clipper and FoxPro and everything else.
You seem to be on the right track - by trapping events at the form we can make
"pseudo-objects". Let me know how it progresses.
Regards,
Marc
#: 32463 S1/Miscellaneous
02-Jun-93 12:31:51
Sb: #Understanding Links
Fm: Michelle M. Vina 72754,1317
To: Paradox user
Help!
I'm reading page 336 of the PDOX for Windows User's Guide and getting a little
confused.
It states that "tables you want to link must have a common field. The field
name doesn't have to be the same in both tables, but the field type and size
must match". Does this mean that both tables have to be KEY fields?
I read on a little further to page 337 where it talks about "Multi-valued
relationships". This lead me to believe that I could link two tables based on
their field type and size only.
I'm trying to link a hardware table, which contains a detailed listing of all
hardware assiged for each user, to a service table that contains information
regarding all service calls we have placed for a particular piece of hardware.
Neither table currently has a key field. I had originally wanted to add all
service information to the hardware table but this would present a problem if
a users CPU or monitor was serviced more than once. I then could potentially
have more than one record in my hardware table containing the same hardware
info. but with a different service date. This is not what I want.
I wanted to be able to link the hardware to the service table by user last
name even though a key field is absent. Is this possible?
* Reply: 32571
#: 32571 S1/Miscellaneous
02-Jun-93 19:14:49
Sb: #32463-Understanding Links
Fm: Brian Reed (Sysop) 71333,2360
To: Michelle M. Vina 72754,1317 (X)
Michelle,
What it sounds like you need is a one to many relationship. In this
relationship both tables are keyed but you are not linking on both keyed
fields. In your example you would have the parent table be your hardware
table with the user name as your keyed field. (You may want to consider
assigning a unique number to each user in case you end up with 2 John Smith's
etc...)
Then you would have a keyed field in your child table such as a service order
number field. You would also add a non-keyed field containing the same
information in the keyed field from the parent table. (Name field or user #
field). This is where you define your link.
Brian Reed (sysop)
#: 32464 S1/Miscellaneous
02-Jun-93 12:36:10
Sb: #Client/server questns
Fm: T. Pat Kelly 6121,47
To: all
Hi all!
We are, if the $'s come thru, going to buy the following:
DEC Alpha 150Mgz Pc
unix or Windows NT (ugg)
either ORACLE or SYBASE as a client - server dbms
SQL
3 gig+ of disk drives
all of the forgoing will be connected to our Novell 3.11 lan on which we now
run PARADOX 3.5, but will be upgrading to either PARADOX 4.02+ or PARADOXwin.
Can PDOX 4+ and/or PDOXWIN talk to the above software via SQL?
Any suggestions (if it can) as to which environment (unix vs Win NT) would be
preferable?
any suggestions on ORACLE vs. Sybase?
Any suggestions on an SQL?
All comments MOST welcome.
Thanks
Pat
* Replies: 32680, 32702
#: 32680 S1/Miscellaneous
03-Jun-93 09:11:27
Sb: #32464-Client/server questns
Fm: Dan Ehrmann (TeamB) 70007,4644
To: T. Pat Kelly 6121,47
Pat:
Paradox for DOS should talk to both Oracle and Sybase using the SQL Link
addin.
Paradox for Windows does not yet talk to client-server data, but Borland has
said publicly that they are working on this technology, and that they expect
to have it available within 3-4 months.
[Dan -> ]
#: 32702 S1/Miscellaneous
03-Jun-93 10:35:14
Sb: #32464-Client/server questns
Fm: Weylan Wang -(Sysop)- 76702,1067
To: T. Pat Kelly 6121,47
You should be able to connect to a Sybase or Oracle server. At this point,
you can only do it in Paradox 4 directly. If you want to do it in windows you
are going to have to wait or use Q & E.
OPAL: Paradox for Windows is able to call any Windows DLL that has been
created with the correct set of parametes. Pioneer Software, Inc. has just
such a Windows DLL that connects to a number of SQL server systems. This is
called Q+E Database Library. It connects to...
Ascii text files
Btrieve
dBase
Excel
IBM DB2
IBM AS400
IBM OS/2 Database Manager
IBM SQL/DS
Informix
Ingres
Novell Netware SQL
Oracle
Paradox
Progress
SQLBase
Sybase/Microsoft SQL Server
Tandem NonStop SQL
XDB
Pioneer Software, Inc.
5540 Centerview Dr.
Raleigh, NC 27606
Sales (919) 859-2200
Tech. Support ((919) 851-1152
Compuserve: Go Pioneer
#: 32485 S1/Miscellaneous
02-Jun-93 13:41:56
Sb: #Source code listings
Fm: BRAD BOKOSKI 71732,2330
To: ALL
I notice that in source code listings from PW, multiple tabs (ie TAB TAB TAB
TAB text...) are not always aligned in the output. Is it a known defect or is
there something in my configuration, or are certain controls not picked up
with certain fonts?
* Reply: 32634
#: 32634 S1/Miscellaneous
02-Jun-93 23:54:45
Sb: #32485-Source code listings
Fm: Les Gainous 72731,146
To: BRAD BOKOSKI 71732,2330
re: I notice that in source code listings from PW, multiple tabs (ie TAB TAB
TAB TAB text...) are not always aligned in the output.
Brad,
There is a program here in this forum called ENUM.EXE. It's in library #11.
It will print all your source code, leaving the tabs intact and in line. It
will also print all methods from ALL forms/libraries, all in one go. Download
it and let me know what you think.
goodLuck() Les 72731,146
#: 32492 S1/Miscellaneous
02-Jun-93 14:22:34
Sb: #DOS app in button??
Fm: len burman 76520,3723
To: sysop (X)
In a form, I have a button, which when pressed, I would like to execute WP for
windows with a parameter which is a field in my form. I used the execute
command like execute("wpwin.exe name") where name = filename.Value which is
a field in my form. It runs wpwin and looks for a file called name. I want
the value which is in name. I tried using \ and \\. I also tried defining a
field in my table as OLE, but since WP for windows is a client, I can't embed
it in my table field. How do I do this? When I press a button, I want to go
into WP for windows, with the filename which is in my form.
* Reply: 32606
#: 32606 S1/Miscellaneous
02-Jun-93 21:48:22
Sb: #32492-#DOS app in button??
Fm: Micah Bleecher(DataStar) 76570,234
To: len burman 76520,3723 (X)
>command like execute("wpwin.exe name") where name = filename.Value which is
>a field in my form. It runs wpwin and looks for a file called name. I want
>the value which is in name. I tried using \ and \\. I also tried defining a
Try execute("WPWIN.EXE " + name)
(assumes name is a string variable and is assigned)
Micah
#: 32499 S1/Miscellaneous
02-Jun-93 14:43:56
Sb: Possible Paradox Bug
Fm: Paul Reeves 100141,2330
To: HANK HAMNER 71046,34
I tried setting up the table and form as you exactly as you suggested and had
no problems. What am I doing right? <g>
BTW My experience of PFW so far is that the problems are fairly evenly mixed
between hardware config, windows config, PFW config and my own
misunderstanding of ObjectPal programming. Taken together it appears that PFW
is pretty unstable. However, with perseverance things get better!
Good Luck
Paul Reeves
#: 33711 S1/Miscellaneous
07-Jun-93 22:08:44
Sb: #33369-#Possible Paradox Bug
Fm: Clifford J. Glennon 73170,1456
To: Mike Irwin/Co-Assist 100114,1437 (X)
Woah! Windows NT is not for us. It's for Business types with $450+
dollars to spend. I'll wait for a version less than $100 thank you. In the
meantime, I'll keep working around the PFW crashes until a real version comes
out.
* Reply: 33725
#: 33725 S1/Miscellaneous
07-Jun-93 23:13:43
Sb: #33711-#Possible Paradox Bug
Fm: Les Gainous 72731,146
To: Clifford J. Glennon 73170,1456
RE: Woah! Windows NT is not for us. It's for Business types with $450+
dollars to spend. I'll wait for a version less than $100 thank you
Clifford,
...or you can wait for Microsoft's "Chicago", due out probably next year.
It's a 32-bit DOS with 'built-in' MS_Windows (among other features)!
goodLuck() Les 72731,146
* Reply: 33726
#: 33726 S1/Miscellaneous
07-Jun-93 23:20:40
Sb: #33725-#Possible Paradox Bug
Fm: John Mitchell 71603,221
To: Les Gainous 72731,146 (X)
Or you could try OS/2 2.1, which'll be available next week and supports WIN
3.1 and any flavor of DOS you like, including DR DOS 6.0, MS DOS 6.0, and all
other flavors that I've heard of... ;)
#: 32532 S1/Miscellaneous
02-Jun-93 15:46:40
Sb: #Deliverance
Fm: Dinyar Wadia 71042,3411
To: Sysop (X)
I can not seem to deliver any forms. I used to be able to, but now a can't.
Should I reinstall ? Any other suggestions ? Thanks again.
* Reply: 32704
#: 32704 S1/Miscellaneous
03-Jun-93 10:35:19
Sb: #32532-#Deliverance
Fm: Weylan Wang -(Sysop)- 76702,1067
To: Dinyar Wadia 71042,3411 (X)
What happens when you try to deliver them? You might have to reinstall, but
what happens?
-(Weylan Wang)-
-(Borland Paradox Technical Support)-
* Reply: 32715
#: 32715 S1/Miscellaneous
03-Jun-93 10:58:43
Sb: #32704-Deliverance
Fm: Rick Carroll 72133,1335
To: Weylan Wang -(Sysop)- 76702,1067
I am also having problems delivering some of my forms. When I go to deliver
the form, Paradox switches the form that I am looking at in design mode and
starts to run it. I can see the "Compiling.." message in the bottom left
corner just before it runs the form. On some of my forms, they have delivered
without any problem. Any suggestions?
#: 32574 S1/Miscellaneous
02-Jun-93 19:27:21
Sb: #Font Problems
Fm: Al Yanchak 71155,3065
To: All
I have a client who uses both PFW and Page Maker. Since installing Page Maker,
the PFW status bar has shrunk to a thin line and the text on the start up
screen is all messed up. I've heard that certain fonts loaded by Page Maker
can produce these problems with PFW. Any info would be appreciated.
Thanks in advance,
Al
* Replies: 32846, 32861
#: 32846 S1/Miscellaneous
03-Jun-93 15:49:34
Sb: #32574-Font Problems
Fm: Brian Reed (Sysop) 71333,2360
To: Al Yanchak 71155,3065
Al,
Yes, there are certain fonts from Pagemaker that will cause this.
Unfortunately, we haven't got them recorded here. The lines to look at in the
Win.ini file are the [font substitutes] Helv = line and the Aldus section.
The Helv line should say Helv = Ms Sans Serif. For the Aldus try commenting
out the fonts to see if the problem goes away. If I find the name or names of
the actual fonts that are giving us grief I will post another message.
Hope this helps.
Brian Reed (sysop)
#: 32861 S1/Miscellaneous
03-Jun-93 16:55:38
Sb: #32574-Font Problems
Fm: Brian Reed (Sysop) 71333,2360
To: Al Yanchak 71155,3065
Al,
As an addendum to my previous message I did manage to find the information on
which fonts cause us grief.
Comment out the lines in the font sections of the Win.ini that read: PageMaker
Fonts (2:1)=ALDFONTA.FON PageMaker Fonts (4:3)=ALDFONTB.FON PageMaker Fonts
(1:1)=TEDFONTF.FON
Brian Reed (sysop)
#: 32579 S4/Forms
02-Jun-93 19:54:09
Sb: #Tab order in forms
Fm: F C DASTOOR 76440,2017
To: sysop (X)
Is it possible to set the tab order of the different fields in a form so that
the cursor moves from selected field to selected field? Or is the movement of
the cursor from field to field dependant on the position of the field?
* Reply: 32616
#: 32616 S4/Forms
02-Jun-93 22:18:36
Sb: #32579-#Tab order in forms
Fm: Bill Todd (Kallista) 75046,1345
To: F C DASTOOR 76440,2017 (X)
By grouping your fields you can get any tab order you want. See Grouping
Objects on page 404 of the Users Guide.
Bill
* Reply: 32670
#: 32670 S4/Forms
03-Jun-93 06:25:54
Sb: #32616-#Tab order in forms
Fm: F C DASTOOR 76440,2017
To: Bill Todd (Kallista) 75046,1345 (X)
Thank you. I will try it out. I thought grouping was used just for designing
purposes.
But what about the tab order within the group itself.
* Reply: 32693
#: 32693 S4/Forms
03-Jun-93 09:43:08
Sb: #32670-Tab order in forms
Fm: Bill Todd (Kallista) 75046,1345
To: F C DASTOOR 76440,2017
You can have groups within groups. The tab order within a group that does not
contain groups is upper left to lower right.
Remember that the members of a group do not have to be adjacent to each other.
You can skip around in any order.
Bill
#: 32592 S2/Install/CFG/HrdWare
02-Jun-93 20:46:58
Sb: #ERROR MESSAGE
Fm: J.H. SANNING 70471,355
To: SYSOP (X)
I KEEP GETTING A MESSAGE "GENERAL FAULT AT PDXVIEW.DLL 0010:1182"
AT WHICH TIME MY SYSTEM CRASHES. WHAT GIVES ?
* Replies: 32675, 32834
#: 32675 S2/Install/CFG/HrdWare
03-Jun-93 08:20:02
Sb: #32592-#ERROR MESSAGE
Fm: Chris Taylor 75730,2420
To: J.H. SANNING 70471,355
Hello to the Paradox/Windows gods! Yes, I have an associate who has been
wrestling for about a week with this same problem. If a solution can be found
he will be able to save his name as well as a bit of cash.
Hopeful, Chris Taylor
* Reply: 32835
#: 32835 S2/Install/CFG/HrdWare
03-Jun-93 15:28:51
Sb: #32675-ERROR MESSAGE
Fm: Robert Ramirez (Sysop) 76702,255
To: Chris Taylor 75730,2420 (X)
Hello Chris,
Like your Navigator Face...
If you could also describe the steps to reproduce the problem and also
describe your Windows Setup (Video driver, Memory, Windows Shell, etc.) and a
listing of your Autoexec.bat and Config.sys, "WE" might be able to offer some
suggestion/resolutions to the problem. Thanks.
~Robert
Borland Tech. Support
#: 32834 S2/Install/CFG/HrdWare
03-Jun-93 15:28:46
Sb: #32592-ERROR MESSAGE
Fm: Robert Ramirez (Sysop) 76702,255
To: J.H. SANNING 70471,355
Hello J.H.
Please give the steps/observations to reproduce this problem. Also, describe
your Windows Setup (Video driver, Memory, Windows Shell, etc.) and a listing
of your Autoexec.bat and Config.sys. Thanks...
~Robert
Borland Tech. Support
#: 32597 S4/Forms
02-Jun-93 21:29:00
Sb: #Cap's Lock
Fm: David Hayes 74740,2547
To: All
Is it possible to make a field always come up in cap's even if the user
doesn't hit caps lock?
* Reply: 32694
#: 32694 S4/Forms
03-Jun-93 09:43:13
Sb: #32597-Cap's Lock
Fm: Bill Todd (Kallista) 75046,1345
To: David Hayes 74740,2547
In the File | Utilities | Restructure dialog box assign a picture of *! to the
field. Pictures are described in detail in the Users Guide.
Hope this helps.
Bill
#: 32607 S4/Forms
02-Jun-93 21:57:36
Sb: #Forms&Screen Resolution
Fm: Deven Hickingbotham 72365,46
To: all
What's the best way to insure that a form designed on an 800x600 VGA screen
will run on other display cards and resolutions? Do you have to design for
the lowest common denominator or is there a way to dynamically adjust the
coordinates of a form designed in 800x600 to run on smaller/larger screens??
Deven
* Replies: 32770, 32847
#: 32770 S4/Forms
03-Jun-93 13:17:58
Sb: #32607-Forms&Screen Resolution
Fm: Rick Fillman (Sysop) 76702,273
To: Deven Hickingbotham 72365,46
> Do you have to design for the lowest common denominator ...
Either that, or create multiple designs, each specifically designed for one
screen size of the other.
> or is there a way to dynamically adjust the coordinates of a form
> designed in 800x600 to run on smaller/larger screens??
Unfortunately, no.
Maybe others will respond as to how they have dealt with this
situation.
Rick Fillman, Tech Support (Borland)
#: 32847 S4/Forms
03-Jun-93 16:01:04
Sb: #32607-Forms&Screen Resolution
Fm: Richard Wagner (TeamB) 71333,2031
To: Deven Hickingbotham 72365,46
Deven,
If you form is going to be run on a 640x480 screen, you should design for that
resolution (the least common denominator). You can then be assured that it
will be alright for all resolutions.
An alternative is to use the Zoom | Best Fit option, but I do not like the
result of that at times.
Richard Wagner
#: 32619 S4/Forms
02-Jun-93 22:31:28
Sb: #Table Frame
Fm: Gail Cox 72745,442
To: SYSOP (X)
I have a form which containing a multi table data model. This form has a
table frame which will be used for data entry. When the user advances to an
empty record, I would like to initialize it with the line item number which
along with the field which forms the link to the master table will be the key
to the second table. In the event that the user advances to the next entry
and does not complete the rest of the fields, I would like to either not
include the record or delete it if it has already been posted. I've been
trying to use the built in action method, but I've run into problems,
sometimes getting completely locked up. Is there a good example of what I am
trying to do?
Any help will be appreciated.
Gail
* Reply: 32873
#: 32873 S4/Forms
03-Jun-93 17:53:54
Sb: #32619-Table Frame
Fm: Rick Fillman (Sysop) 76702,273
To: Gail Cox 72745,442
> Is there a good example of what I am trying to do?
For starters, let's look at Learning Object Pal p. 49 for a
section titled "Inserting a record and generating a unique key
value.
Also, see the Object Pal Developers Guide p. 282 "Programming an
AutoIncrementing Key Field".
There are code example in each of the above locations. Hope this
helps, and it the type of thing you are looking for.
Rick Fillman, Tech Support (Borland)
#: 32623 S4/Forms
02-Jun-93 22:56:44
Sb: #Pdox Forms
Fm: Frank Punzo 72262,350
To: Eddy
Eddy,
Can you offer any help on the other three questions in my last message?
2) I have a form with a 1 to many relationship displayed.
When I tab past the last field on the "1" part of the
form to the first field on the "Many" part of the form,
I can't Backtab to the last field on the "1" part of the
form. 3) Is there any way to disable the scroll bars on a form? 4) How do
you change the order in which EditRegions receive
focus when the tab key is pressed in a form?i
* Reply: 32772
#: 32772 S4/Forms
03-Jun-93 13:18:09
Sb: #32623-Pdox Forms
Fm: Rick Fillman (Sysop) 76702,273
To: Frank Punzo 72262,350
I'm not Eddy, but I'll try answering your questions:
> I can't Backtab to the last field on the "1" part of the form.
OK. How about using the mouse?
Seriously, however, it is possible to change any particular
behavior (such as this) of a form via Object Pal. If you wish to
pursue this, leave a question in one of the ObjectPal sections of
this Forum.
You could mouse-click back to the top.
> Is there any way to disable the scroll bars on a form?
Right-click "inspect" the form itself (on the title bar) (or use
the Properties|Form menu) and go to window styes, and unCheck
these properties.
> How do you change the order in which EditRegions receive
> focus when the tab key is pressed in a form?
The default is the Tab key takes use left to right, then down.
Use Design Group to create groups of objects. Then, the Tab key
moves thru the objects in the group first!, and then on to the
next group.
Rick Fillman, Tech Support (Borland)
#: 32632 S2/Install/CFG/HrdWare
02-Jun-93 23:44:02
Sb: Floating PT Stck Under
Fm: Howard A. Bullock 70744,3263
To: all
I posted this in the dos forum also.
:::: (forwarded) ::::::::::::::::::::::::::::::::::::::::::::::::
#: 900000 S3/Outbox (Recon)
02-Jun-93 11:42:00
Sb: Floating PT Stck Under
Fm: Howard A. Bullock 70744,3263
To: all
Win.ini
Load=c:\wrk\sysmeter.exe,c:\quicken\billmind.exe
Startup group has Drwatson and Clock
If PdoxWin is loaded then exited and PdoxDos 4.01 is loaded I get a
Floating-point stack under error dialog from windows. After pressing OK I see
PdoxDos 4.0 minimized and Sysmeter blown away. Double clicking on PdoxDos 4.0
starts the application and appaers to run just fine.
Any Ideas?
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Howard
#: 32641 S1/Miscellaneous
03-Jun-93 00:47:04
Sb: #Simple Graph
Fm: Peter Bergsman 73237,2057
To: sysop (X)
PDB 516
Sunday, May 30, 1993
08:29 PM
BORLAND:
1. This is a PARADOX problem. Please route it in the right direction.
2. I am very frustrated. I am trying to accomplish an utterly simple
graphing task, and as near as I can tell, Paradox is totally stymied.
3. Here's the situation. I have a table of 37 records. Each record contains
33 fields. One of those fields is named "GS". Now, GS is an alpha of size 1,
and each of its 37 instances contains one of eight possible single character
values.
4. All I want to do is create a graph that will be a histogram showing the
count of how many times each of the eight values occurs in those 37 instances.
5. Now here's the problem. The graph constructing dialog (and cross tabbing
too, for that matter) demands that I provide DIFFERENT fields to identify (1)
the categories and (2) the data to be categorized. Clearly I have only the
one field, and it both contains the data and implies the categories.
6. I can't believe that such a simple graphing (or tabulating, if we're
talking cross-tabs) operation is beyond Paradox.
Please Advise
Peter.
(Please reply to my CS E-Mail address -- Thanks)
* Reply: 32681
#: 32681 S1/Miscellaneous
03-Jun-93 09:11:34
Sb: #32641-Simple Graph
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Peter Bergsman 73237,2057 (X)
Peter:
Here is the solution to your problem:
Create a query which checks the code field and places the following
expression in the same field: "Calc Count All" (without quotes)
Save the query to a .QBE file.
Create a new form.
Instead of adding a table to the data model, click on the TYPES box
and select Queries. Select the query you just saved.
Create a blank form layout.
Place a Graph object on the form, then define a bar graph with
your ID field along the X-axis and the Count field along the Y-axis.
This should generate the graph you need, and it will then be easy to
customize it. Whenever you open the form, the query is run automatically
before the graph is displayed.
[Dan -> ]
#: 32645 S4/Forms
03-Jun-93 01:11:58
Sb: #one to one problems!
Fm: David Hayes 74740,2547
To: All
I need some help please...
I have been trying to get a form put together that is based on one table but
has fields from other tables in it (both multi record tables and one to one
relationships).
It seems that any of the tables that I put into the form that are defined as a
one to many relationship work fine but I cannot get the one to one
relationships to work.
#: 32652 S3/Tables/TableView
03-Jun-93 01:35:55
Sb: #Descend Key/Sec. Index
Fm: Terry Moriarty 71310,2172
To: Sysop (X)
Is it possible to create a table with a descending key or even a secondary
index? My application requires a version number and I want the newest version
(the one with the highest number) to be the first one presented to the user.
I figured out how to do this by generating the version number so that the
oldest one has the highest number and then decrement for each new version.
Then, I have to convert it whenever its displayed to the user, who wants the
oldest version to have the lowest number.
Having a descending key/index would make things a lot easier.
Thanks
* Reply: 32749
#: 32749 S3/Tables/TableView
03-Jun-93 12:59:10
Sb: #32652-Descend Key/Sec. Index
Fm: David Orriss Jr(Sysop) 75300,1414
To: Terry Moriarty 71310,2172
Terry,
If you use dBASE tables in your application then it is possible to create a
descending index for your tables. Hope this helps.
David
#: 32672 S3/Tables/TableView
03-Jun-93 07:53:28
Sb: #Time Math
Fm: jack lail 74726,1202
To: all
Sysop: I'm a new Paradox and new Paradox for Windows user and am creating a
database that will track the amount of time volunteers work. The paper
informaiton includes a time start and time end.
My question is can I create starttime and endtime fields in a table and later
do math on them subtract starttime from endtime? Does the time format matter,
i.e. does it have to be military time? Would [tablename.starttime -
tablename.endtime] work as a calculated field in a form?
Any suggestions on working with time and doing math with time would be
appreciated.
-- jack
* Reply: 32751
#: 32751 S3/Tables/TableView
03-Jun-93 12:59:14
Sb: #32672-Time Math
Fm: David Orriss Jr(Sysop) 75300,1414
To: jack lail 74726,1202
Jack,
While we do not have a Time field in Paradox for Windows tables, we do have
a Time datatype. Ask in section 11 about how to use ObjectPAL to manipulate
time. Hope this helps.
David
#: 32677 S3/Tables/TableView
03-Jun-93 08:50:39
Sb: #auto incrementing field
Fm: Ted Michorczyk 71702,350
To: sysop (X)
HI THERE!!
I have a question about Paradox for Windows. I'd like to purchase it while
the price is still very low, but I've read the pros and cons of it in
different magazines. The CON that sticks out in my mind is that it doesn't
have a facility to work with SERIAL/COUNTER/AUTO-INCREMENTing fields. Is this
true? If it is how does one work around this and create an auto-incrementing
field as other databases have?
Thanks in advance for your advice....
Ted Michorczyk
* Replies: 32736, 32750, 32752
#: 32736 S3/Tables/TableView
03-Jun-93 12:25:15
Sb: #32677-auto incrementing field
Fm: Brian Bushay (TeamB) 76711,516
To: Ted Michorczyk 71702,350
Ted
>The CON that sticks out in my mind is that it doesn't
>have a facility to work with SERIAL/COUNTER/AUTO-INCREMENTing fields. Is this
>true? If it is how does one work around this and create an auto-incrementing
>field as other databases have?
There is no built in field type that is Auto incrementing like some data
bases have. In Paradox for windows Code can be attached to any object in a
form. It takes about 5 lines of code to create an auto incrementing
routine. And you can save it and cut and past it between applications if
that makes it any easier.
Brian
#: 32750 S3/Tables/TableView
03-Jun-93 12:59:13
Sb: #32677-auto incrementing field
Fm: David Lambert, DDS 76264,2246
To: Ted Michorczyk 71702,350
Ted:
As per Brians response, being a neophyte objectpal afficionado, it IS easy to
program an autoincrementing field number. It's done with a TCursor (a pointer
to the field in memory). From there on it, anytime you insert a new record
you autoincrement.
PdoxWin and objectpal are fairly easy to use and somewhat fun, actually.
Try it, you'll like it.
#: 32752 S3/Tables/TableView
03-Jun-93 12:59:19
Sb: #32677-auto incrementing field
Fm: David Orriss Jr(Sysop) 75300,1414
To: Ted Michorczyk 71702,350
Ted,
While we do not specifically have an auto-increment field at this time we
are aware of it's importance to our customers. We are considering this
feature for future versions of our product. In the meantime, we do provide
step by step instructions in our documentation for creating an auto-increment
field with current existing fields which gives all of the functionality of a
built-in auto-increment field.
Thanks for your interest in Paradox for Windows.
David Orriss Jr.
Paradox for Window Technical Support
Borland International
#: 33423 S3/Tables/TableView
07-Jun-93 07:33:19
Sb: #33091-#auto incrementing field
Fm: David Lambert, DDS 76264,2246
To: Brian Bushay (TeamB) 76711,516 (X)
Yo Brian:
True, but for allowing compatibility for multiuser applications, I would
always use the TCursor method...wouldn't you??
DML
* Reply: 33745
#: 33745 S3/Tables/TableView
08-Jun-93 01:43:55
Sb: #33423-auto incrementing field
Fm: Brian Bushay (TeamB) 76711,516
To: David Lambert, DDS 76264,2246 (X)
David
>True, but for allowing compatibility for multiuser applications, I would
>always use the TCursor method...wouldn't you??
Yes I would.
Brian
#: 34039 S3/Tables/TableView
09-Jun-93 01:31:32
Sb: #auto incrementing field
Fm: Joe Surdoval 72567,560
To: David Orriss Jr(Sysop) 75300,1414 (X)
David,
Unfortunately, the current auto-numbering work-around is not just a hassle, it
is flawed because it requires use of a form. We have many users (especially
beginners) who prefer to use tables for data entry -- this obviously
circumvents the integrity of the work-around. A true auto-increment field
property would provide this flexibility. I add my voice to all the others who
feel that this shortcoming is a serious drawback in a generally fine product.
Joe Surdoval
* Reply: 34081
#: 34081 S3/Tables/TableView
09-Jun-93 11:53:25
Sb: #34039-auto incrementing field
Fm: David Orriss Jr(Sysop) 75300,1414
To: Joe Surdoval 72567,560
Joe,
> I add my voice to all the others who feel that this shortcoming is a
> serious drawback in a generally fine product.
Thanks for the information and your input. I will be forwarding your
concerns to our management. Thanks for using Paradox for Windows.
David
#: 32728 S4/Forms
03-Jun-93 11:56:34
Sb: Nauseated with PdoxWin
Fm: Kurt Schmidt 72360,2755
To: Sun Tzu 70712,1135
>I am a new database user. Have you tried Microsoft Access? How would
compare >it with PDOX?
I have tried Access VERY BRIEFLY. Access was increadibly slow on my machine,
so I gave up pretty early. I think it has some better features than PdoxWin
and some worse. Right now I think it is a toss up between the two... someone
who tried one may like better or hate the other.
Kurt
#: 32741 S1/Miscellaneous
03-Jun-93 12:29:00
Sb: #App. Mem requrements
Fm: Bob Pack 76216,2503
To: Sysop and All (X)
How much RAM and disk space would a client need to run one of my apps with
the developers license? With the runtime?
I'm not concerned with speed, well my clients aren't. I need to know the
minimum Hardware for it to work. They can always get more RAM if they feel a
need to speed things up.
Thanks,
Bob
* Reply: 32845
#: 32845 S1/Miscellaneous
03-Jun-93 15:49:28
Sb: #32741-App. Mem requrements
Fm: Brian Reed (Sysop) 71333,2360
To: Bob Pack 76216,2503
Bob,
The developers license will require 11.5 meg of disk space plus whatever your
application needs and a 4 meg machine. Although the runtime version will
require considerably less than this, we have no specific information at this
time.
Brian Reed (sysop)
#: 32785 S3/Tables/TableView
03-Jun-93 13:51:17
Sb: Can't restructure
Fm: Dick Rubin 71531,2254
To: all
This is driving me crazy. I'm working with tables from an existing 4.0
application which uses relative directory addressing. Main data tables are in
one directory and some lookups are in another.
If I try to open a main data table from its own directory, Pdoxwin complains
about missing or corrupt lookups and allows only read-only access.
If I open the table from my 4.0 application's root, e.g. "d\mytable", Pdoxwin
opens it up ok, but when I select Restructure I get the "Error occurred in
your application, Close or Ignore" dialog. Whichever I choose, I then get
"Pdoxwin caused a General Protection Fault in module PXDCREAT.DLL at <hex
address>".
When I exit from there and try to restart Pdoxwin, I get the message "Could
not initialize ODAPI.: Directory is busy." I have to exit Windows completely
and restart.
I hope I'm doing something wrong -- can anyone help? Many thanks.
#: 33424 S11/Using ObjectPAL
07-Jun-93 07:46:57
Sb: #Display Previous Record
Fm: Ernie Ferro 76340,2023
To: All
I've got the following method attached to a delete button on a form
which contains an MRO that displays one record of a master table and also
contains a table which displays detail records associated with that master
table record. The delete seems to work fine but when I'm done, the form is
blank and none of the VCR controls to bring another display into view seem to
work. How can I get them to work and also display the record prior to the one
I just deleted.
Thanks in advance for the assistance.
Ernie
* Reply: 33529
#: 33529 S11/Using ObjectPAL
07-Jun-93 13:36:29
Sb: #33424-#Display Previous Record
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Ernie Ferro 76340,2023 (X)
After the delete, use MasterTableFieldName.action( DataPriorRecord ). Make
sure you are referring to the master table, not the detail.
Tarik
* Reply: 33606
#: 33606 S11/Using ObjectPAL
07-Jun-93 16:59:18
Sb: #33529-#Display Previous Record
Fm: Ernie Ferro 76340,2023
To: Tarik Ghbeish =Sysop= 76711,643 (X)
Tarik,
Thanks for the information. Works great. Now for another question.
I've got a field in my MRO called Name which is not part of any table.
It's purpose is to display the name of an employee from my employee table when
I enter a valid employee number into the Employee Number field. The Employee
Number field is on the MRO and is part of my OUTPMAST table. A single record
of the OUTPMAST table is displayed on the same MRO as the Name field. What's
the best way to keep the correct name displayed in the Name field no matter
whether I'm editing/inserting a record or simply displaying existing records
on the form? I've got some code attached to my Employee No field that does a
TCursor locate to display the name in the Name field. That works fine as long
as I'm editing/inserting. But if I display the records, the Name field
doesn't change. What can I do to have the proper name displayed no matter
what I do.
Thanks again.
Ernie
* Reply: 33677
#: 33677 S11/Using ObjectPAL
07-Jun-93 20:59:45
Sb: #33606-#Display Previous Record
Fm: Mike Irwin/Co-Assist 100114,1437
To: Ernie Ferro 76340,2023 (X)
Ernie,
to sense when something has changed in a field (the reference in your parent
table, here, that is a foreign key in your name table), look at the
changeValue() and newValue() methods for _that_ controlling field. What you
need to do is alter field B when field A changes. Alternatively, bring the
table onto the form and link !
hope this helps
Mike
* Reply: 33774
#: 33774 S11/Using ObjectPAL
08-Jun-93 08:47:48
Sb: #33677-#Display Previous Record
Fm: Ernie Ferro 76340,2023
To: Mike Irwin/Co-Assist 100114,1437 (X)
Mike,
Thanks for the information. I think my best bet will be to link the
Employee master file to the form. I do have a small problem with which I hope
you can help. The unattached Name field actually displays a variable which is
the concatenation of the fields First Name, Middle Name and Last Name. When I
eliminate the unattached name field, I'll be replacing it with three fields
called First Name, Middle Name and Last Name. I don't have room to display
all three fields in the form. Is there a way that I can delete the text from
the labels for the fields and put all three fields together so they look like
one field? When I right click on the text labels for the field and hit
delete, PDOXWIN tells me that it cant delete text#nn. Is there a way to make
all three look like one?
Thanks for the help.
Ernie
* Reply: 33809
#: 33809 S11/Using ObjectPAL
08-Jun-93 11:06:49
Sb: #33774-Display Previous Record
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Ernie Ferro 76340,2023 (X)
Right click on the entire field and select Display Type | Unlabeled.
Alternatively, use one field and make it a calculated field with the
calculation :
LastName + ", " + FirstName + " " + Middle
or whatever approximation you require.
Tarik
#: 33425 S1/Miscellaneous
07-Jun-93 08:02:36
Sb: #Confusion
Fm: T. Pat Kelly 6121,47
To: all
I'm confused about the order in which one develops an application. I've been
reading one of the new books on PDOX for WIN and either it's led me astray or
I've gone down the primrose path.
With PDOX 3.5 I would, after appropriate analysis and design work, create
tables; then forms; then reports; then start PAL CODE development.
In the PDOX-WIN book there is a discussion of tables, reports, forms, objects.
BUT, when we get to creating a sample application, the book goes directly into
creating a form....creating fields (?) on the fly. Back in the section on
forms there is a mysterious comment to the effect (as I read it) that most
often forms are based on tables; but "not always". What?
Can/Will someone please give me a mini BLOW BY BLOW on how to create a
complete application in PDOX WIN. I have an application I want to create that
will list all staff in an organization. Includes their names, address,
phones, divisons, branches and units they belong to; their education level and
technical speciality. AND, a picture of them.
Thanks,
Pat
* Reply: 33460
#: 33460 S1/Miscellaneous
07-Jun-93 10:28:20
Sb: #33425-#Confusion
Fm: Alan M. Dunsmuir 100016,1251
To: T. Pat Kelly 6121,47 (X)
<<Can/Will someone please give me a mini BLOW BY BLOW on how to create a
complete application in PDOX WIN>>
Because of the flexibility of the medium, and because it's new, I'm not sure a
"standard" or "best practice" approach has developed yet. I'll tell you what I
did with the biggext application I've developed to date.
First, you clearly need at least a "preliminary firm" view of what your Tables
are going to be, and how they'll be organised. You'll also need a narrative
specification of each of the operational "blocks" of the application.
You may well then start experimenting in interactive mode, trying out some
queries (they're much more flexible, in terms of field and sort order and
"answer" Table name, than in Paradox 3.5/4) to see if you get the correct
records for the Output Tables/Reports you want to have.
Then you're going to have to turn to Form design, since effectively all coding
in PfW is associated with objects on Forms. (As an alternative to a customised
menu system, you might consider starting with a Form with just a series of
Push Buttons on it, each one resulting in the loading of a different lower
level Form.)
Since you attach individual methods to the objects on the Forms, your
development is going to be really piecemeal from this point on. This has the
advantage that you can develop from bottom up, getting individual "atoms" of
your application working without over-concerning yourself about how they will
ultimately hang together. The disadvantage is that you'll likely make a lot of
bad choices on where to attach methods. You'll find yourself duplicating
something you've already written in one place somewhere else. Then you'll
decide it would be better to replace both these instances with a procedure
attached somewhere that is visible to both locations. Then you might want to
do the same thing on another Form and you'll have the choice of duplicating
the coding again, or moving it to a library.
Then you'll have to decide how to pass operational data between Forms. I
choose to do it via temporary working Tables, but I'm ready to be told that
this is vastly inefficient (I don't know whether it is or not) and again I
should be using libraries. You'll have to become familiar with what you can do
with the different - and often confusing - categories of variables, e.g.
TableView, Table and TCursor.
And you'll have to decide how to get data into your application. (Here I tend
to take the - perhaps idiosyncratic and again inefficient - line of using
special Data Input Tables around which I build my data entry Forms, and I post
from there into my "real" Tables completely under ObjectPAL control (using
TCursors), rather than using any semi-automatic facilities provided by
Paradox.)
Finally, I "Deliver" all my developed Forms and Reports to another directory
and test the system there. For a multi-user system I use a "home" directory,
from which the application is run, for all the "private" Tables which are
going to be duplicated for each user, and I use an Alias to point at another
directory (on a File server for the installed application) which contains all
the shared Tables.
* Reply: 33498
#: 33498 S1/Miscellaneous
07-Jun-93 13:29:20
Sb: #33460-#Confusion
Fm: T. Pat Kelly 6121,47
To: Alan M. Dunsmuir 100016,1251 (X)
Alan,
Thanks for the information. If I may, I'd like to take several points a step
further:
You say "...narrative specification of each operational "BLOCKS". Waht does\
this mean? Is it a description of what is to go on with all functions that
can/will be put on the form?
Next, "...pass operational data between forms... Will you explain the need
to do this and when you do it? Along with this, you say you use "...special
data input tables..." Why and in what context? Not that I'm quesioning your
use of same....far be it from me doing that!! [grin]. I just don't have a
clue as to why.
Next, You use the phrase "Object on Form" am I right in thinking that this
phrase is = to a form with push buttons and/or menu selections of actions that
can be done; i.e., a menu pick of options/operations that can be performed?
At what point do you do linking of tables for Referential Integrity.....Before
form design or durring/after?
If you have several reports that can be generated out of one table, do you
offer them as menu selections on one form or several forms on the same table?
Have you found that you can "salvage" pal code written in 3.5 to use in
pdoxwin?.............i.e., procs to do little tasks like inform user of what
is going on "Please Wait...Working.............." is an example of what I'm
thinking about.
Pat
* Reply: 33758
#: 33758 S1/Miscellaneous
08-Jun-93 04:01:47
Sb: #33498-#Confusion
Fm: Alan M. Dunsmuir 100016,1251
To: T. Pat Kelly 6121,47 (X)
<<narrative specification of each operational "BLOCK">>
That would be, at the top level, just a sentence or paragraph (to get my own
thinking straight, not as a communication document for others) saying what
each option on the top level application-specific menu (or Push Button) would
do.
<<pass operational data between forms>>
Because the "highest" Object is the Form, and because it's not always
convenient to design your applications around the pages of a single multi-page
Form (but you should seriously consider whether that would be feasible, since
it's more convenient than using multiple Forms), variables defined on one
Form, and which are therefore not "visible" to any other Form in the
application, if needed on another Form have either to be stored in a library
where they can be accessed by more than one Form in the Application or written
to Tables in one Form and read from them in another (using TCursor variables
both times). This is of course where values need to be passed in excess of the
single one allowed as the returned parameter of a procedure call.
<<special data input tables>>
I never DID get well into the special data entry options in Paradox 3.5, and
have carried tha ignorance over to PfW. I'll design my data entry screem
around what data values I need to have, then specify one or more "data entry
Tables" with the correct structure to accept these values. Then data entry
will consist of (a) emptying these tables when the data entry Form is opened;
(b) letting the user fill up the data entry Tables as required; and (c) when
he hits the "OK" button, running the appropriate ObjectPAL coding to
"batch-update" the underlying application Tables. I realise this simplistic
approach won't necessarily work if you're working on a multi-user,
multi-update application (the type my tormentors in Computing Division say I
ought only to be using PowerBuilder and Oracle to develop), but I've got away
with it up to now, since my applications are scarcely "mission critical" <g>.
<<"Object on Form">>
As well as being a Push Button, a set of Radio Buttons ro Check Boxes, or a
menu list, this could very well be a list box, an edit list box, a
straightforward data entry field, a Table Frame - useful for getting data of
the type "provide new end dates for each of the following currrently active
items..." - or even a graphic, which when you get to play with advanced Form
design you will learn to switch between visible and invisible status to
indicate different staes of Form completion.
I have developed a very sexy use of two linked list boxes (stolen from the
MAST application, then improved) to make the operation "select any subset of m
items from an available list of n items, where m is <= n" almost painless for
the user.
<<Referential Integrity>>
I had an early and very bad experience with referential integrity in what
SHOULD have been a very simple and straightforward application, which I was
unable to fix even after asking repeated questions of the SysOps here, so have
steered well clear since then. (That, I think, is the secret currently with
PfW - find something that works and stick with it: don't do what I did with,
for example, DDE and flog it almost to death trying to get it to work
properly. Until there's wider knowledge avaiable to help you, you'll never
know whether you're doing something wrong or if there's a bug - sorry! a
feature <g> - in the current version of PfW. However, having said that, I DID
get DDE to work finally.)
I think experienced advice is that you should not put in RI until you're sure
you've totally completed Table design for your complete application.
<<several reports that can be generated out of one table>>
I think how you offer those is simply a matter of taste. I personally would
offer either menu selection or multiple buttons on a single Form.
<<Have you found that you can "salvage" pal code written in 3.5 to use in
pdoxwin?>>
Almost not at all. There are parallels - your example of the status line
message, for example. But it's better to stick to concept-level carry-over,
and plan to code from the ground up. (I WAS able to "backwards engineer" a PfW
application to Paradox 4 making heavy use of P4's Dialog Boxes - with grateful
acknowledgements to PaintPAL - in place of PfW's Forms. But the extra coding
to get simple things to work in P4 (e.g. a simple "Do you want to proceed?"
question box) was much greater in P4 than in PfW. I guess with time you could
build a libray of "common parts" which could be cobbled together with less
effort for future applications. But P3.5 and PfW are just too far apart for
any carryover (other than sequences of Query executions in the "Processing"
parts of your Applications) to be possible.
Your best way forward now I think is trial and error <g>.
#: 33428 S11/Using ObjectPAL
07-Jun-93 08:29:02
Sb: #Windows open file error
Fm: John Small 72160,2316
To: Randy Sell (Sysop) 75300,2147 (X)
Hi Randy
Still no luck with the unable to read from drive C: error. It just comes and
goes and I just get on with my work.
Regarding Tutility. While it most certainly does leave the RI information
intact, it does have this nasty habit of throwing out all my records as
problem records. I suspect that this may be due to something related to RI,
because only files invloved in an RI link have this problem.
I just load the records back in from the backup when I've done using it.
Another RI problem I've got is that I just went to restructure a master table
that has a lot of dependant tables. It said it could not create a struct.db!!.
Odd because if I just asked for information then struct.db was created
perfectly OK. Also when I copied the file to another name, the other file
allowed the restructure to take place, but of course being a copy of the
parent it did not have alll the child tables related to it.
If I removed the RI links from the child tables, then I could restructure the
parent table.
Is there some sort of limit beyond which if a parent table has too many child
tables a restructure operation is not allowed?
Oh yes, and on the QBE errors. They came up not when opening the QBE file, but
when the QBE file started opening its constituent files. It also happend at
exactly the same place on two separate machines which makes a damaged disk
unlikely. In any case chkdsk /f shows up nothing.
When I get a chance I'll post another message regarding an error on QBE in
forms and reports. No one responded to my first message, plus a sample app
that duplicates the error.
Regards
John
* Reply: 33559
#: 33559 S11/Using ObjectPAL
07-Jun-93 14:40:57
Sb: #33428-Windows open file error
Fm: Randy Sell (Sysop) 75300,2147
To: John Small 72160,2316 (X)
John-
>>Is there some sort of limit beyond which if a parent table has too many
child tables a restructure operation is not allowed?
Not to my knowledge. If you can't create a STRUCT.DB file, then you either
have disk problems, or a lack of disk space. Some sort of resource depletion
would be my guess. Wish I could help more, but I'm afraid I'm out of answers.
Anyone else have two cents to throw in here?
Randy Sell
PDW Technical Support
#: 33431 S1/Miscellaneous
07-Jun-93 08:47:59
Sb: #33385-Window sizes
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Ted Carson 74220,3511
Ted:
When you are designing your form, right-click on the form's title bar and
select the "Window Style..." option. You will see an important dialog box
allowing you specify Window Properties, including one option called
"SizeToFit".
This is the one you need. Make sure it's checked.
[Dan -> ]
#: 33432 S1/Miscellaneous
07-Jun-93 08:48:04
Sb: #33409-Picture string in form
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Scott Basham 73042,2410 (X)
Scott:
Try the property "EditEnterPersistFieldView" (or something close to that - I
don't have my manuals handy.)
[Dan -> ]
#: 33434 S9/Learning ObjectPAL
07-Jun-93 08:48:16
Sb: #33362-#Scripts
Fm: Dan Ehrmann (TeamB) 70007,4644
To: Ronn Koester 72717,3507 (X)
Ronn:
Unfortunately, you cannot restructure a table under program control. Instead,
you should use a query to insert your data into a new and empty table with the
correct structure.
In addition, you cannot perform ASCII exports under script control from the
File - Utilities menu. Instead, use the TextStream Object type to roll your
own ASCII export.
Keep in mind that unlike PAL in PdoxDOS, OPAL is not an "invisible user"
walking the menus and pressing the keys for you.
The inability to perform these two functions directly is a source of concern
to many people, and I'm sure Borland will address it as soon as possible.
[Dan -> ]
#: 33455 S5/Reports
07-Jun-93 10:20:49
Sb: #Reports
Fm: Joann Lund 75410,1102
To: Scott Arnett(Sysop) 76711,650 (X)
Scott,
Thanks for your help with that other report your solution worked. But I have
another question -- If you want to print the following how would you do it:
I want to group two dunning codes together codes 1 and 2 with one text and
then code 3 with another text? The text for 1 and 2 should only print once
with the two groups of records together - now it is printing with the 1's and
the 2's. Also how can I get the header of the records to only print with the
first group?
Thanks for your time.
* Reply: 34096
#: 34096 S5/Reports
09-Jun-93 12:52:24
Sb: #33455-Reports
Fm: Scott Arnett (Sysop) 76711,650
To: Joann Lund 75410,1102 (X)
Joann-
You would need to add a condition to the calculation that looks for the first
code. If the records are grouped by code, then code 1 will probably always
print first, so you place a IIF that checks to see if code=1 before it
prints. You can also use this to keep the headings from printing between
groups 1 and 2. If you place the headder in a series of calculated fields,
and place these in a text box, and make the group headder the same size as
the text box, it might work out.
-Scott
#: 33763 S5/Reports
08-Jun-93 05:46:04
Sb: #reports
Fm: Stephen De Marco 73112,3310
To: 73112,3310 (X)
Reference the problem printing on an ASCII printer. If I have the printer
selection set correctly to the ASCII printer, then the table comes up in Roman
type, and it prints OKay. But, if I run a query on that table the ANSWER is in
Arial type anint. I have to select each element of the answer table and change
it to Roman. There should be a better way. Is there a system session setting
that has tables, reports, queries, etc. all come up in a particular font?
* Reply: 34154
#: 34154 S5/Reports
09-Jun-93 15:57:50
Sb: #33763-reports
Fm: Scott Arnett (Sysop) 76711,650
To: Stephen De Marco 73112,3310
Stephen-
If you want to set a default font for your answer table do this:
1) Open the quewry and choose Properties | Answer Table | Options
2) Click on the image of the Answer table and do Shift+Ctrl+M.
3) Set the font you want, and click OK.
4) Save the query.
This will allow you to set a default font for that query.
-Scott
#: 34119 S5/Reports
09-Jun-93 13:11:35
Sb: #reports
Fm: Bradley Tubbs 70702,3245
To: sysop (X)
I am rewriting our company's inventory application using PDOXWIN. We will be
printing out large inventory reports. Is there any way to print reports in
text mode using the printer's default draft font?
* Reply: 34184
#: 34184 S5/Reports
09-Jun-93 17:44:42
Sb: #34119-reports
Fm: Ken Merson -Sysop- 76117,3146
To: Bradley Tubbs 70702,3245 (X)
To get text-only output from Windows, you'll need to install and use the
Generic/Text-Only printer driver. Design your paradox reports to use Roman
10cpi for fields and text objects.
The resulting output should use whatever typeface is current at the printer.
km :^,
#: 33458 S6/Queries
07-Jun-93 10:24:31
Sb: #HowTo: calc lagged vars
Fm: GIL JEFFER 72410,1001
To: ALL
How can I calculate a new field that is a moving average over three records?
Example:
Seq # Var#1 CalcMovingAverage ----- ----- -----------------
1 3 null <--- since no data from record-1 and record-2
2 7 null <--- since no data from record-2
3 5 5 <--- avg of (3, 7, 5)
4 8 8.66 <--- avg of (7, 5, 8)
5 3 5.33 <--- avg of (5, 8, 3)
... ... ...
Can this be done? Can this be done through a Query, or does it take Pal? Any
and all help will be appreciated, thanks in advance...
* Reply: 33599
#: 33599 S6/Queries
07-Jun-93 16:16:35
Sb: #33458-HowTo: calc lagged vars
Fm: Quinn Wildman (Sysop) 76703,3033
To: GIL JEFFER 72410,1001
You'll definitle need ObjectPal to do what you want here. Here's some
ObjectPal that should what you want. It assumes the moving average field
already exists in your table.
var
tc tcursor
ar array[3] number
endvar
tc.open("table")
tc.edit()
scan tc:
ar[3]=ar[2]
ar[2]=ar[1]
ar[1]=tc."var#1"
if tc.recno()>2 then
tc.movingaverage=(ar[1]+ar[2]+ar[3])/3
endif
endscan
tc.close()
#: 33464 S11/Using ObjectPAL
07-Jun-93 10:57:08
Sb: #33237-#Restructure after add()
Fm: Tim Colling (TeamB) 70007,4655
To: David Ellis 72240,370 (X)
Dave -
>>When the created keyed table is the target of a query, the key is removed.
Is there a way to have the key retained in this case?<<
Nope. The problem is that the query apparently overwrites the old .db file
and any related index files.
The approach you'd probably want is something like this:
define query
execute query
create newtable like answertable, using
the optional key designation syntax of the CREATE command
(assumes, of course, that you know which field(s) you
wish to be keyed...)
add answertable to newtable
Tim
* Reply: 33501
#: 33501 S11/Using ObjectPAL
07-Jun-93 13:29:58
Sb: #33464-#Restructure after add()
Fm: Woody Splawn 73627,3541
To: Tim Colling (TeamB) 70007,4655 (X)
Hope they do something about this in a future release. If its a big table the
query itself can take quite a while; then, adding that to an empty table with
an index can take quite a while too.
Woody
* Reply: 33541
#: 33541 S11/Using ObjectPAL
07-Jun-93 14:13:18
Sb: #33501-Restructure after add()
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Woody Splawn 73627,3541 (X)
Use the index command. It can create indexes.
Tarik
#: 33465 S11/Using ObjectPAL
07-Jun-93 11:05:29
Sb: #Uiobject Which Button??
Fm: Doug Walker 75360,2004
To: All
Hi:
How do you find out which button the user clicked on the dialog box that is
displayed by the VIEW method for a UIOBJECT? We use the view method to prompt
the user for information but we can't figure out how to tell if they clicked
cancel which would indicate they wanted to abort the operation. We are getting
around it by using the msgquestion method to display a confirmation request.
Any other Ideas???
Thanks Doug Walker
* Replies: 33698, 33849
#: 33698 S11/Using ObjectPAL
07-Jun-93 21:25:13
Sb: #33465-#Uiobject Which Button??
Fm: Bill Todd (Kallista) 75046,1345
To: Doug Walker 75360,2004 (X)
You don't find out. If the user presses cancel any value they typed in is
ignored. If they press OK the value is assigned to the variable. You might
assign blank or zero before the view and see if it has changed.
Bill
#: 33849 S11/Using ObjectPAL
08-Jun-93 12:35:44
Sb: #33465-#Uiobject Which Button??
Fm: Robert Hall (Borland) 70674,513
To: Doug Walker 75360,2004 (X)
As far as I know, there's no explicit way to find out which button the user
clicked to close a view() dialog box. The best you can do is test whether
the user changed the value displayed in the dialog box, something like this:
method pushButton(var eventInfo Event)
var
promptString,
responseString String
endVar
promptString = "Enter your name here."
responseString = promptString
responseString.view("What's your name?")
if responseString = promptString then
msgInfo("No reponse", "User clicked cancel or closed dialog box.")
else
msgInfo("User responded", "User entered new value and clicked OK.")
endIf
endmethod
If you need more control than that, you're probably better off creating
your own dialog box form.
=Robert
#: 33466 S1/Miscellaneous
07-Jun-93 11:20:15
Sb: Housekeeping
Fm: Quentin McGown 71005,463
To: Sysop (X)
How can I arrange the Icons in a folder. I would like to place all the .DB,
.RSL, and .FSL Icons in a certain order. The folder seems to place them at
random or in the order in which they were added. Is there a way I can
arrange them to my preference?
Thanks,
Q
#: 33471 S11/Using ObjectPAL
07-Jun-93 12:08:47
Sb: #Export & Import
Fm: Mike Gee 100047,123
To: SYSOP (X)
Is there any means of triggering an import or export operation from within
OPAL ?
* Reply: 33826
#: 33826 S11/Using ObjectPAL
08-Jun-93 11:50:23
Sb: #33471-#Export & Import
Fm: Brian McKinley 70524,2535
To: Mike Gee 100047,123
Mike,
I am not Sysop, but I spent a lot of time on this issue.
There is no support built in to objectPal for the Import and Export
functions. You can call their dialog boxes buy using the constants
MenuDataImport and MenuDataExport. You cannot however use these constants
directly as in MenuAction( MenuDataImport ). For some reason, this does
not work. If you instead use a constant which does work i.e MenuWindowTile
and then swith the id inside the MenuAction method, the dialog box will
appear.
MenuAction( MenuWindowTile ) ; called from another method
method MenuAction( var eventInfo MenuEvent )
if eventInfo.id() = MenuWindowTile then
eventInfo.sedId( MenuDataImport )
endif
endmethod
From here there are ways to control the dialog box using the windows api
( function in the User DLL which comes with Windows ), and when I get time,
I will post an example in the library. I currently have an application
which does fixed length import import from objectPal. I have also written
code to do an ASCII import. If you let me know what you need, I may be
able to put something together for you.
Brian
* Reply: 33930
#: 33930 S11/Using ObjectPAL
08-Jun-93 17:54:41
Sb: #33826-Export & Import
Fm: Brian McKinley 70524,2535
To: Brian McKinley 70524,2535 (X)
Mike,
Thats MenuFileImport and MenuFileExport. Sorry, I was writing without a
reference guide.
Brian
#: 33472 S11/Using ObjectPAL
07-Jun-93 12:17:05
Sb: #Can you prevent Bubbling
Fm: Woody Splawn 73627,3541
To: All
I was under the impressing that you could prevent an external event from
bubbling up. That is, I was told that any method that deals with an external
event can kill the event by setting errorcode to 1 (or something non zero).
I have a form with a button on it that when pushed inserts a new record and
assigns a new record number. After I get the number I set errorcode to 1 and
continue on with InsertRecord(). Upon doing a debug, however, I see that
after doing the insert, the code goes to the action method of the form and the
action method of the MRO. It appears to me that setting errorcode to 1 did
not prevent the method from bubbling up.
Can someone clarify?
Woody
* Replies: 33542, 33679
#: 33542 S11/Using ObjectPAL
07-Jun-93 14:13:21
Sb: #33472-Can you prevent Bubbling
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Woody Splawn 73627,3541 (X)
You can only abort an event by setting the errorCode to a nonzero value when
you are INSIDE the event. Hence,
eventInfo.setErrorCode( 1 )
insertRecord
certainly does not abort the insertRecord. It aborts whatever built-in event
you placed the setErrorCode command into. Also, some events, if they are
going to execute, HAVE to execute on their parent objects. You cannot insert
a record to a field and not have it happen to the MRO as well, they are tied
together. The form will always see it first since it has to decide where to
send it.
Tarik
#: 33679 S11/Using ObjectPAL
07-Jun-93 21:00:00
Sb: #33472-Can you prevent Bubbling
Fm: Mike Irwin/Co-Assist 100114,1437
To: Woody Splawn 73627,3541 (X)
Woody,
you may or may not get bubble-up, depending on the action. In general, if you
want to consume an event, add "disableDefault" to your code. If the event
doesn't bubble then nothing will change in that respect; if it does bubble
then it's the default code (that you can't "see") that does the bubbling, so
...)
hope this helps
Goodnight !
Mike
#: 33475 S11/Using ObjectPAL
07-Jun-93 12:25:38
Sb: #Lock-Ups - TCursors?
Fm: Marc Zev 70610,615
To: All
I am having serious lock-up problems in my application. I haven't pinned down
all the possiblities yet but I am beginning to strongly suspect TCursors.
Am I alone in this or can someone else shed some possible light on me.
* Reply: 33680
#: 33680 S11/Using ObjectPAL
07-Jun-93 21:00:05
Sb: #33475-#Lock-Ups - TCursors?
Fm: Mike Irwin/Co-Assist 100114,1437
To: Marc Zev 70610,615 (X)
Marc,
the easiest way to get a lock-up is to try to post a duplicate-key record; P4W
seems often just to refuse to let you out of a record without saying why!
<Ctrl><Break> a few times often gets you out again !.
Hope this helps some
Mike
* Reply: 33810
#: 33810 S11/Using ObjectPAL
08-Jun-93 11:09:49
Sb: #33680-#Lock-Ups - TCursors?
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Mike Irwin/Co-Assist 100114,1437 (X)
Paradox will return an errorCode if you have a keyViolation. Make sure you
are checking the errorStack or non-zero errors to avoid these types of
problems. Perhaps you'll want code somewhat like this :
if eventInfo.errorCode <> 0 then
errorShow()
endIf
or even without the eventInfo since you are working with TCursors.
Tarik
#: 33478 S9/Learning ObjectPAL
07-Jun-93 12:31:28
Sb: objectpal
Fm: Pat Casey 100041,714
To: all
TO: All From: Pat Casey 100041,714
If you have a field say "Lastname" bound to a table and you attach the code :
Action(var eventinfo actionevent) if eventinfo.id()=dataendedit then
try
dodefault ; try to end edit
onfail ; can't end edit because will cause a key violation
fail() ; to trigger built in error method for this object
endtry endif
to the action method for that object.Now If you enter a value in that field
which is going to cause a key violation error,and you try to end edit by say
pressing F9, will this cause the built in error method to execute where you
can check if the eventinfo.errorcode()=peKeyViol and pop up an appropriate
message.
Thanks Pat
#: 33483 S9/Learning ObjectPAL
07-Jun-93 12:45:59
Sb: #Objectpal
Fm: Pat Casey 100041,714
To: David Ellis 72240,370 (X)
TO: David Ellis 72240,370 From: Pat Casey 100041,714
David, Thanks - that way for passing a variable works great.
I put this on compuserve earlier but you might want to take a look. Have a
look at this and see what you think.
If you have a field say "Lastname" bound to a table and you attach the code :
Action(var eventinfo actionevent) if eventinfo.id()=dataendedit then
try
dodefault ; try to end edit
onfail ; can't end edit because will cause a key violation
fail() ; to trigger built in error method for this object
endtry endif
to the action method for that object.Now If you enter a value in that field
which is going to cause a key violation error,and you try to end edit by say
pressing F9, will this cause the built in error method to execute where you
can check if the eventinfo.errorcode()=peKeyViol and pop up an appropriate
message.
Thanks Pat
#: 33479 S5/Reports
07-Jun-93 12:32:52
Sb: #Checkmarks on reports
Fm: Mark Chapman 71061,2220
To: All
My application involves an attendance tracking system which requires a
checkmark be placed to show an individual attended an event. How can my report
do this? My field structure includes a field for an individuals's ID# and one
field for each event to be tracked.
The report should look somewhat like this:
Name Event1 Event2 John Doe checkmark
Sue Smith checkmark
Thanks very much! Mark
* Reply: 34103
#: 34103 S5/Reports
09-Jun-93 12:52:57
Sb: #33479-Checkmarks on reports
Fm: Scott Arnett (Sysop) 76711,650
To: Mark Chapman 71061,2220
Mark-
Do you want to know how to get a checkmark, or how to mark a field based on
the value in the field. To determine if a checkmark is needed use the IIF
function in a calculated field like this: IIF(condition,"Checkmark","").
Take a look at page 34 of the OPAL Reference.
-Scott
#: 33482 S11/Using ObjectPAL
07-Jun-93 12:43:44
Sb: #formReturn()
Fm: Richard Wagner (TeamB) 71333,2031
To: Quinn Wildman 76703,3033
Quinn/All,
I am having inconsistent results with nested wait/formReturn statements. On
several apps, I have nested wait/formReturns with no problem. But on an app
I am working on now, Form A calls Form B who calls Form C. When the formReturn
of Form C executes, the wait from Form A takes control. The code is shown
below:
WAIT()
method pushButton(var eventInfo Event)
var
frm, cFrm Form
lID string
endVar
cFrm.attach("Add People to Case")
if frm.Open("loc") then
cFrm.hide()
lID = frm.wait()
cFrm.Show()
frm.close()
if lID = "Null" then
Return
endif
Loc_ID.value = lID
else
msgInfo("Gallagher & Gallagher", "Unable to open Location
Lookup form.")
endif
endmethod
FORMRETURN()
method pushButton(var eventInfo Event)
formReturn(Loc_ID)
endmethod
* Reply: 33681
#: 33681 S11/Using ObjectPAL
07-Jun-93 21:00:10
Sb: #33482-#formReturn()
Fm: Mike Irwin/Co-Assist 100114,1437
To: Richard Wagner (TeamB) 71333,2031 (X)
Richard,
I think something's gone wrong with my brain: I only understood half your code
! Others have had problems with the same apparent symptoms. It _may_ be a real
problem - maybe an easy error to fall into. Personally I haven't seen it yet
(having said that, though ...<g>).
If you think I might be able to help, please e-mail me the form.
All the best
Mike
* Reply: 33740
#: 33740 S11/Using ObjectPAL
08-Jun-93 01:01:09
Sb: #33681-#formReturn()
Fm: Richard Wagner (TeamB) 71333,2031
To: Mike Irwin/Co-Assist 100114,1437 (X)
Mike,
Thanks. I'll see if I can wrap something up and send it off to you. I cannot
understand what it going on. I have developed some 5-6 other apps with several
layers of nested wait/formReturns; this is the only one providing me trouble.
Richard Wagner
* Reply: 33824
#: 33824 S11/Using ObjectPAL
08-Jun-93 11:43:46
Sb: #33740-#formReturn()
Fm: Richard Wagner (TeamB) 71333,2031
To: Richard Wagner (TeamB) 71333,2031 (X)
Mike/Quinn,
I did some testing and I found that if I added a msgInfo statement after
wait(), the code works (i.e., the nested form does not close). (See the code
below.) Any ideas?
var
frm, cFrm Form
cID string
endVar
cFrm.attach("G Case")
if frm.Open("court") then
cFrm.hide()
cID = frm.wait()
msgInfo(" ", "end Case wait") ; <-- This line eliminates
cFrm.Show() ; the problem.
frm.close()
if cID = "Null" then
Return
endif
Court_ID.value = cID
else
msgInfo("G", "Unable to open Court Lookup form.")
endif
Thanks,
Richard Wagner
* Reply: 34205
#: 34205 S11/Using ObjectPAL
09-Jun-93 18:30:16
Sb: #33824-#formReturn()
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Richard Wagner (TeamB) 71333,2031 (X)
Insert a sleep() in place of the msgInfo. It will cause Paradox to yield and
give the return time to finish executing before Paradox gets to the next
command. The message is getting to the wrong window because of the priority
different events take in the Windows event queue. No big deal, it just
requires a judicious addition of a sleep to force Paradox to yield to Windows
momemtarily. Experiment with no value to several seconds to see how it works.
Tarik
* Reply: 34270
#: 34270 S11/Using ObjectPAL
09-Jun-93 22:25:18
Sb: #34205-formReturn()
Fm: Richard Wagner (TeamB) 71333,2031
To: Tarik Ghbeish =Sysop= 76711,643
Tarik,
I tried using sleep() with no success. I tried "sleep()" to "sleep(20000)".
Each time I was brought back to the first wait(). The only way I could get
around this is using a msgInfo command.
Also, let me once again state that I have several other apps that have some 5
nested wait() statements, which work fine. It is just this one that is driving
me crazy.
Any ideas? Thanks for your help!
Richard Wagner
#: 33485 S4/Forms
07-Jun-93 13:00:20
Sb: #Novice Questions
Fm: Ross Wheeler 70531,246
To: sysop (X)
I am new to Paradox for Windows and have some basic questions.
1. In the forms design mode, I want to select (and align) several fields at
once (not all of them). How do I do this? In Borland's C++ RW it is simple a
matter of drawing a selection box around the elements. Is this mode available
somewhere?
2. I am running Windows for Workgroups and according to MS I don't need to
run share (it is purportedly built in). But by not running share, I run into
problems regarding tables being opened etc. Do I need to run share under WFW?
3. I copied a form and want it to use a different underlying table. I get a
message saying that I can't do this (cannot rebind?). Is there a way?
4. I am using some linked tables and want to display information in the other
forms using the linked table fields. In the child forms, I want the
information entered in the parent form but displayed read-only in the child
form. How can I do this?
Thanks,
Ross
* Reply: 33489
#: 33489 S4/Forms
07-Jun-93 13:14:09
Sb: #33485-#Novice Questions
Fm: Richard Wagner (TeamB) 71333,2031
To: Ross Wheeler 70531,246 (X)
Ross,
(1) Ctrl key it! Click each object while holding down the Ctrl key. Or, draw
an imaginary rectangle around a group of objects with your mouse while holding
down the Ctrl key.
(3) Go into the Data Model and remove the original table. Then replace with
another table.
Richard Wagner
#: 33491 S1/Miscellaneous
07-Jun-93 13:22:12
Sb: Importing files / OPAL
Fm: Dan Patterson 74150,2042
To: BORLAND
I'm very disappointed that there is no simple OPAL equivalent for importing an
ASCII or other file (as in FILE / UTILITIES / IMPORT). Using TextStream is
cumbersome and results in a much slower import process. What gives, BORLAND?
You should be able to do this in a method when needed to package an
application.
#: 33494 S5/Reports
07-Jun-93 13:24:53
Sb: #33408-#Mailing Labels are hard!
Fm: Ken Merson -Sysop- 76117,3146
To: Maurice Thaler 70740,2725 (X)
For whatever reason, and as you say, brand-specific design tools were not
included in the core of Paradox for Windows. However, Borland does address
your specific request in another fashion.
Borland's QuickStart Labels is a package of pre-designed labels for 13 Avery
Labels/cards. Common mailing label, name badge, and rotary card layouts are
included.
I don't know what current prices are, but the list price for QuickStart Labels
is 49.95. If this product is not available from your vendor, call the borland
order desk at 800-331-0877 for current prices and availability.
Hoping to help,
ken merson :^,
* Reply: 33743
#: 33743 S5/Reports
08-Jun-93 01:17:06
Sb: #33494-#Mailing Labels are hard!
Fm: Maurice Thaler 70740,2725
To: Ken Merson -Sysop- 76117,3146 (X)
I must say that seems really outrageous. Considering the pricing of today's
products
ACCESS $99
Alpha4 $99
Paradox $139 (or $99 if you buy with QPRO)
It seems amazing that one should have to pay HALF the price of the product for
a capability that
is BUILT IN to all the other databases. Supporting a "BRAND SPECIFIC" label is
not favoritism,
it is just good bussiness sense. Word Perfect has been doing that since WP5.1
for DOS came
out (actually they have macros for AVERY and 3M labels as well.... I am sure
nobody would
complain if Borland went one farther and support AVERY, 3M & Quill!!!)
Oh, well. I am one of the users that grew up with Turbo Pascal for CP/M, the
first reasonably priced compiler by any company. Now Borland is selling a
label add on for the same price as their flagship compiler!
Sigh.
* Reply: 33880
#: 33880 S5/Reports
08-Jun-93 15:06:09
Sb: #33743-Mailing Labels are hard!
Fm: Ken Merson -Sysop- 76117,3146
To: Maurice Thaler 70740,2725 (X)
I'll certainly pass your thoughts along to product management - I don't
disagree that it would be good to have included the functionality you
describe. I just wanted you to be aware of the options that are currently
available from Borland.
And, at the risk of extending this conversation farther than you want... at
this time, the list price of Pdoxwin is still $795.00 - against which the
$49.00 makes sense.
These are strange times in the software industry. <g>
I will make sure your objections are heard by Product Management.
Ken Merson
Paradox Technical Support
#: 33495 S5/Reports
07-Jun-93 13:24:57
Sb: #33444-Previous request
Fm: Ken Merson -Sysop- 76117,3146
To: Dean Bradley 72123,661 (X)
Found your message- sorry about the delay.
>>The problem is that there is a pagebreak (normal, not induced)
after the label of the group at a certain point, with the result that
the group label prints at the bottom of the page by its lonely ol' self
and looks pitiful down there. The group headings reappear at the
top of the next page, as I want them to.
>>I have selected the Group Band and toggled the Run
Time|Breakable choice. I also tried drawing a box around the
group label and the record band. I'm sure I've tried a couple
of other things. None have worked.
There is not a direct way to make sure the group header will not print at the
bottom-- the breakable property pertains to the header object itself, not the
group as a whole. Some suggested workarounds have been
to not use the header to display the information, but put it in the all
records band
or
reducing the amount of whitespace available within the report design - therby
reducing the number of opportunities to break the group up.
Though it's clear we dropped the ball in answering your question here - and
for this I appologise again, you might consider posting your next question to
"All" - this opens up the field of possible answers to anyone willing to
contribute their advice.
hoping to help,
ken merson :^,
#: 33499 S10/ObjectPAL Environ.
07-Jun-93 13:29:49
Sb: #32996-# 1 Form Closing Another?
Fm: Woody Splawn 73627,3541
To: Bill Todd (Kallista) 75046,1345 (X)
<<Try the following:
f.attach("formTitle") f.close() sleep() >>
Bill,
Could you explain the sleep() command? In my own apps I sometimes get
an error of answer table already in use. When I have put in something like
sleep(3000) it has stopped. Would sleep() do? If so, why?
Woody
* Reply: 33692
#: 33692 S10/ObjectPAL Environ.
07-Jun-93 21:24:31
Sb: #33499- 1 Form Closing Another?
Fm: Bill Todd (Kallista) 75046,1345
To: Woody Splawn 73627,3541 (X)
Read the explanation of the sleep command in the OPAL reference and you will
know as much as I do. When Paradox asks Windows to do something there are two
ways to do it which I think are called Posting a message and Sending a
message. If you Post a message it goes into Windows event queue to be
processed. Doing a sleep() causes Paradox to do a Yield, that is, give up its
time slice so Windows can service the event queue and get whatever is there
done.
Bill
#: 33500 S11/Using ObjectPAL
07-Jun-93 13:29:54
Sb: #32938-Info on GPFs
Fm: Woody Splawn 73627,3541
To: John H. Klassen 72212,513
John,
I have also been told that if you have over 2,000 lines of code (about)
you run the risk of a corrupt form. It is difficult to determines when you
are at the 64k or 2,000 line limit. wrt 2,000 lines, if you enumerate the
form and you have 35 pages of code and figure about 60 lines per page, you
know you are over. However, my pages have a lot of white space in them. How
do you figure for white space? Anyone?
Woody
#: 33505 S11/Using ObjectPAL
07-Jun-93 13:34:13
Sb: #33243-Return of .view()
Fm: Marc Zev 70610,615
To: Martin 100270,3472 (X)
My method for avoiding opening extra forms is to create a box on the form
which looks like a dialog (meaning it has buttons and fields and everything
you might need) then setting dlgBox.Visible = False. then when the condition
occurrs such that you need the dialog you just make the box visible. I also
reset the position of the box before making it visible because I tend to move
the box around in design mode a lot.
I chose this method to get around the problem of not being able to pass
variable TO forms.
Hope this helps.
-Marc
#: 33506 S11/Using ObjectPAL
07-Jun-93 13:34:17
Sb: #33417-#Stepping thru Records
Fm: Marc Zev 70610,615
To: GARY HANDLEY 100271,1164 (X)
Try this:
var
tcDetail TCursor
recSave DynArray[] AnyType
fld AnyType
Colors Array[] AnyType Endvar
tcDetail.open() ; I'll leave to details of the open to you.
Colors[1] = Green ; Assign the colors in this Colors[2] = Whatever ;
array
...
scan tcDetail :
tcDetail.CopyToArray(recSave)
ForEach fld IN recSave
fieldName.font.color = Colors[NumVal(fld.Substr(3,1)]
EndForEach EndScan
tcDetail.Close()
This should work and be noticably faster.
-Marc
* Reply: 33545
#: 33545 S11/Using ObjectPAL
07-Jun-93 14:14:16
Sb: #33506-#Stepping thru Records
Fm: GARY HANDLEY 100271,1164
To: Marc Zev 70610,615 (X)
Mark,
That was one wiz bit of code! Thanks a million. One little problem with it,
ForEach fld IN recSave
fieldName.font.color = Colours[NumVal(fld.substr(3,1))]
EndForEach
Is there any way to make the "fieldName" generic? Or do I have to name the 40
fields. The field names are,
F01un, F02un, etc up to F20un and,
F01ov, F02ov, etc up to F20ov.
I appreciate your time, thanks,
Gary.
London
* Replies: 33798, 33807
#: 33798 S11/Using ObjectPAL
08-Jun-93 10:23:44
Sb: #33545-Stepping thru Records
Fm: Marc Zev 70610,615
To: GARY HANDLEY 100271,1164
I'm not exactly sure. My gut says you should be able to because the value
of the variable fld is the Fieldname. On the otherhand I don't quite know
how to use it because fld.font.color will NOT work. I will look into it
because it seems like that ability will come in handy.
-Marc
#: 33807 S11/Using ObjectPAL
08-Jun-93 11:04:08
Sb: #33545-Stepping thru Records
Fm: Tarik Ghbeish =Sysop= 76711,643
To: GARY HANDLEY 100271,1164
>>Is there any way to make the "fieldName" generic? Or do I have to name the
40 fields.
This isn't complete, but I think you'll get the idea. You could use a for
loop to refer to the fieldNames :
for x from 1 to 20
if x.size() = 1 then
y = "F0" + strVal( x ) + "un"
else
y = "F" + strVal( x ) + "un"
endIf
ComtainerName.(y).font.color = Colours[NumVal(fld.substr(3,1))]
endFor
Tarik
#: 33513 S11/Using ObjectPAL
07-Jun-93 13:35:48
Sb: #33348-#Printing Forms
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Don Cook 73405,56 (X)
Yes. You may also want to add a form handle if you are on another form other
than the one you want to print. But action( DataPrint ) will print out the
current form if you invoke it from a button or hotkey.
Tarik
* Reply: 33783
#: 33783 S11/Using ObjectPAL
08-Jun-93 09:48:33
Sb: #33513-#Printing Forms
Fm: Don Cook 73405,56
To: Tarik Ghbeish =Sysop= 76711,643 (X)
Thanks, Tarik! That worked fine, but raised two more questions:
1. How do I keep the "PRINT FILE" dialog box from popping up. I want to
print out a series of the same form (filled with the results of a query)
without having the user respond to the "PRINT FILE" dialog box each time the
scan form prints. The user fills a control table with the list of items which
he wants this form printed out for. The script then scans the control table,
performs the query (as well as some other calculations on the resultant answer
table), fills another table (the one the form is based on) from the answer
table, and prints out the form.
2. Also, how do I change the orientation of the printer from PORTRAIT to
LANDSCAPE and back from within a script. I found the REPORT print method on
page 364 of the ObjectPAL Reference manual and the reference to
ReportPrintInfo records, but cannot find a further definition of the
ReportOrientation constant. Besides, the ReportPrintInfo record applies to
reports and not to forms.
Thanks again for your assistance - I'm going to learning ObjectPAL if it kills
me!! So far it's just caused a few sleepless nights!!
Don
* Reply: 33888
#: 33888 S11/Using ObjectPAL
08-Jun-93 15:12:15
Sb: #33783-Printing Forms
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Don Cook 73405,56 (X)
>>1. How do I keep the "PRINT FILE" dialog box from popping up.
You don't, unless you use a report. Printing forms causes the display of this
dialog box.
>>2. Also, how do I change the orientation of the printer from PORTRAIT to
LANDSCAPE
Once again, you cannot really change this unless you design a report. You can
change the form from designed for screen to designed for printer
interactively, but you can then only toggle to one or the other interactively,
not through OPAL control.
It sounds as though you're going to have to design a report to do this stuff
for you.
Tarik
#: 33515 S11/Using ObjectPAL
07-Jun-93 13:35:53
Sb: #33279-#Disappearing Cursor
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Elizabeth Langford Peck 72550,3565 (X)
Elizabeth, the problem, in part is the sequence. You have an arrive that is
going to happen after all the code on the open. That arrive is interfering
with your own moveTo code. Try moving your code to the arrive.
Tarik
* Reply: 33628
#: 33628 S11/Using ObjectPAL
07-Jun-93 19:47:33
Sb: #33515-#Disappearing Cursor
Fm: Elizabeth Langford Peck 72550,3565
To: Tarik Ghbeish =Sysop= 76711,643 (X)
Actually, with further experimentation I found that if I did the moveto, then
entered persistent field view, the cursor did not disappear. If I run into
further problems I'll try it your way. Thanks, Elizabeth.
#: 33518 S11/Using ObjectPAL
07-Jun-93 13:36:01
Sb: #33307-#DDE dependent form.close
Fm: Tarik Ghbeish =Sysop= 76711,643
To: STEVE STIGGE 75330,1424 (X)
You need to resolve the error first. A form will not close when there is a
nonzero error code, the only time an error can be fired off. Set the
errorcode to 0 and the call close().
Tarik
#: 33532 S2/Install/CFG/HrdWare
07-Jun-93 13:36:37
Sb: #32985-#Pdoxwin Configuration
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Steve Medley 100026,1077 (X)
I suspect that you are using a high res video driver, no? High res video
drivers use much more memory then the standard Windows video drivers. Our
estimates in the manuals assume the standard drivers. I've known drivers to
use as much as 1.5 MB depending on the driver and the mode the video card is
running in. Always update to the latest drivers whenever they come out.
Usually they fix a lot of problems (you may or may not be running into) and
they generally have performance enhancements.
Also, when evaluating available memory under Windows (for the purpose of
setting the buffers) ignore any Virtual Memory that may be adding to your
Windows available memory. You'll just be swapping back to disk by using
virtual memory, and you're probably much better off allowing Paradox to read
it's tables of disk with it's own buffering and caching scheme instead. Hence
the lower numbers in your case.
Tarik
#: 33548 S1/Miscellaneous
07-Jun-93 14:22:44
Sb: #33219-Optimum performance..
Fm: Steve Neverve (Sysop) 71333,114
To: Mussie Gebregziabiher 76420,346
Mussie,
This can be a difficult question. First, you should have AT LEAST 8MB of
RAM. You may want to have as much as 12-16. Second, do not load any memory
resident programs. Third, make sure you have as many things loaded high as
possible. Finally, you should take a look at TI1281.ASC. This was
developed for a 4MB machine but it may help you.
Steve
#: 33550 S1/Miscellaneous
07-Jun-93 14:22:56
Sb: #33266-#Referential Integrity
Fm: Steve Neverve (Sysop) 71333,114
To: Tony Bolda 100015,3577 (X)
Tony,
If you have created referential integrity on a field, you can only enter in
a value for this field that exists in a specified field in a specified
table. If you have the setup below, then you can only enter in A, B, or C
in the child table, the table with refer. integ.
PARRENT.DB CHILD.DB
TEST TEST
A
B
C
If you try to put anything in Child.DB except for A, B, or C, you will get a
key violation. Also, the parrent table must have a keyed field (TEST) and
they must be structured the same ie; both fields need to be the same like
AlphaNumeric 10, AlphaNumeric 20, or Numeric.
If you did not see the diagram on page 304, Chapter 9, this may
help also.
Steve
#: 33562 S9/Learning ObjectPAL
07-Jun-93 15:00:59
Sb: #TCursor.setfilter
Fm: Joerg von Kirschbaum 100271,2271
To: all
Hello all,
I'm new to OPAL. I've a little experience in programming PAL. This is my
problem:
It exists a Table with four fields (Cust#,Year,Month,AmountPaid).
How con PdoxWin compute the cSum of all amountPaid in a given year and month
without respect to Cust#?
How can PdoxWin find the value of Customers paid amount of a certain year and
month, without using a query?
Is TCursor.setfilter the approprate solution? I simply failed to understand
the use of setfilter in the manual. The example wasn't of much help too.
Thanks for helping
Joerg
* Reply: 33747
#: 33747 S9/Learning ObjectPAL
08-Jun-93 01:53:25
Sb: #33562-TCursor.setfilter
Fm: Randy Sell (Sysop) 75300,2147
To: Joerg von Kirschbaum 100271,2271 (X)
Joerg-
>>How con PdoxWin compute the cSum of all amountPaid in a given year and month
without respect to Cust#?
SetFilter on YEAR and MONTH fields
>>How can PdoxWin find the value of Customers paid amount of a certain year
and month, without using a query?
SetFilter on Customer_ID, YEAR and MONTH fields
You have the right idea to use a tCursor (with a setFilter) in both of these
cases. Note- when setting a filter on a field(s) you need to have a
secondary index on the field(s). For a working example, take a look at
message #33561.
BTW- These can also be done in a query, or generated directly in a report.
Randy sell
PDW Technical Support
#: 33563 S4/Forms
07-Jun-93 15:04:20
Sb: #33026-Unlinked fields
Fm: Rick Fillman (Sysop) 76702,273
To: Mike Gee 100047,123 (X)
> I am having trouble with un-linked fields on a form when I want
> to use them for date entry. They appear to be treated as MEMO
> fileds even tho' I have defined / designated a data format for
> the field.
You may specify a Date format. This, however, does not determine
the field's type (as far as data entry is concerned. Accept the
user's input, and then process it. Via OPal, "cast" the data as
DATE type, and assign the result back to the object. Now, your
date-type result will obey the date display format that you have
established.
Rick Fillman, Tech Support (Borland)
#: 33600 S4/Forms
07-Jun-93 16:16:57
Sb: #33141-#Unlinked fields
Fm: Mike Gee 100047,123
To: Bill Todd (Kallista) 75046,1345 (X)
I am trying to ensure that the data entered is re-displayed in a custom date
format. We are re writing an ObjectVision system and OV allows you to define a
format and automatically redisplays the data in that format and I was hoping
that this would happen in a P4W form.
* Reply: 33693
#: 33693 S4/Forms
07-Jun-93 21:24:38
Sb: #33600-Unlinked fields
Fm: Bill Todd (Kallista) 75046,1345
To: Mike Gee 100047,123 (X)
Unfortunately no. I think what you will have to do is put some code in the
changeValue event to doDefault then format the data the way you want it and
assign the formatted value back to the field to change the display.
Bill
#: 33567 S4/Forms
07-Jun-93 15:04:40
Sb: #33240-VERTICAL TEXT
Fm: Rick Fillman (Sysop) 76702,273
To: Quentin McGown 71005,463 (X)
> Is there any way to create vertical text in forms and reports?
I don't know of a way to do this.
Rick Fillman, Tech Support (Borland)
#: 33568 S4/Forms
07-Jun-93 15:04:45
Sb: #33244-Detl Display not complet
Fm: Rick Fillman (Sysop) 76702,273
To: Martin 100270,3472 (X)
> The Search Symbol does not work because this
> only search in the machines of the current customer.
Right. Tc.Attach will respect the current Restricted view.
I think you should do custTC.Open("CustTabl.DB") instead. Now the tCursor
will "see" all records, and thus, your locate will work against all records
in the table.
> (i.e. display the customer but no machines;
> I then have to skip manually to the next
> customer and back, then I can see the machines).
To avoid the above situation, perform tc.Home() just prior to tc.locate.
Hope this helps.
Rick Fillman, Tech Support (Borland)
#: 33959 S4/Forms
08-Jun-93 19:11:10
Sb: #33244-Detl Display not complet
Fm: Kenneth Sole 72113,3517
To: Martin 100270,3472 (X)
>The problem: This routine sometimes works (i.e. display the customer
>and his machines) and sometimes not (i.e. display the customerbut no
>machines; I then have to skip manually to the next customer and back,
>then I can see themachines).
Hi Martin, no expert I, but I believe that your problem has little or
nothing to do with your OPAL code. I often have the same problem working
interactively. I have been advised that the difficulty may occur when
using locate routines that search the DB in other than key sort order.
That is, assuming an alphabetical sort, if you are working with a record
that starts with the letter "A" and then search for one that starts with
"Z", alll the detail tables will look fine. If, on the other hand, you
are viewing a record that starts with "Z", and then you attempt to use
locate to find one that starts with 'A"... ooops!, blank detail fields!
Now, are you ready for the suggestion that I was given? Stick some OPAL
code on the form to go to the "top" of the BD before you do the search!!
Elegant huh?? I have not had a spare minute to try it, but it should
work. Please let me know if this solves your problem.
Take care,
Kenneth
#: 33569 S4/Forms
07-Jun-93 15:04:50
Sb: #33337-#View ? ? ?
Fm: Rick Fillman (Sysop) 76702,273
To: Dale L. Pittock 71214,615 (X)
> cancel will return the old initalized variable value
> (kinda like you had never typed at all)
Right. Pressing cancel "Cancels" your changes. The value revert back.
Thus, there is definitely a functional difference. However, OPal
(apparently) doesn't give us a way of "knowing" which was pressed.
Rick Fillman, Tech Support (Borland)
#: 33570 S4/Forms
07-Jun-93 15:04:56
Sb: #33354-Multi-Form Communication
Fm: Rick Fillman (Sysop) 76702,273
To: Alan Deikman 70541,507 (X)
> bring up a dialog box which edits all the detail
This is a very commonly asked question. Fortunately, the
solution is farily direct, and involves two lines of code.
; --- assume a tCursor variable, and a form variable
; first get the tCursor pointer to point to the "current record"
tc.attach(ui_Object_in_first_form)
; --- here you have your f.open statement
; where f is a form variable
; --- last, we cause the display object in the second form to position
; it's pointer with the tCursor pointer as follows:
f.Object_in_Second_Form.resync(tc)
That's all.
Rick Fillman, Tech Support (Borland)
#: 33571 S4/Forms
07-Jun-93 15:05:01
Sb: #33391-Multi-Table Form
Fm: Rick Fillman (Sysop) 76702,273
To: J. Corby James 70714,3703 (X)
> "Cannot modify this table".
With a 1-1 (and also with a 1-many) the child table is read-only
by default. Go to the Data Model, and right-click "inspect" the
child table. You should then UN-check Read-only.
Rick Fillman, Tech Support (Borland)
#: 33572 S4/Forms
07-Jun-93 15:05:06
Sb: #33403-Locate in arrive -> loop
Fm: Rick Fillman (Sysop) 76702,273
To: Scott Basham 73042,2410 (X)
Yes. Moving the record pointer will RE-triger Arrive.
So, move the code off the arrive method, and onto the Open method
instead. Now, because you are in the Open method, you'll want to
use doDefault ahaed of the code.
Rick Fillman, Tech Support (Borland)
#: 33589 S10/ObjectPAL Environ.
07-Jun-93 15:44:27
Sb: #MCI command strings
Fm: Kevin Finck 76424,1337
To: Jay Giganti 72037,2225
Jay,
I've had a little interest in this area as well. What is your main source
for information about these windows calls? I've had trouble finding
documentation on the multi media extensions. I'm sure I'm just not looking
in the right place.
A simple example of what I'd like to look up. How to play a wav file and
wait for (or poll) it to finish.
Thanks,
<<Kevin>>
* Reply: 33788
#: 33788 S10/ObjectPAL Environ.
08-Jun-93 09:58:02
Sb: #33589-#MCI command strings
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Kevin Finck 76424,1337 (X)
Kevin, to play the .WAV file make a call out to sndPlaySound. We have a fax
in our TechFax system (800-822-4269) that describes this in detail. I'm not
sure what the call would be, however to wait until the sound stops playing.
Unless you are using the PC-Speaker driver, Windows and Paradox keep on
executing while the sound plays in the background. I'm afraid I don't have
the 3.1 API manuals yet, I'm still using the 3.0.
Tarik
#: 33594 S11/Using ObjectPAL
07-Jun-93 16:10:23
Sb: #object containers
Fm: Christoph Schifferli 100010,3542
To: all
In an application, I have squares containing circles. I'd like to develop a
generalized method for responding to double clicks of the mouse. The response
should only become effective when the squares are hit, but not when an
embedded circle is.
If I implement the couble-click method on the form level, I can find out which
object was actually hit (getObjectHit). I then determine if it was a square
(all squares have names which allow me to recognize that). If, by chance, I
hit one of the circles, I'd like to find out, to which square the circle
belongs (circles are named the same in a square, i.e. square1 contains c1, c2,
c3..., square2 contains c1, c2 ,c3...).
How can I find out the name of the container of an object?
Tnak you for any help.
- christoph -
* Reply: 33716
#: 33716 S11/Using ObjectPAL
07-Jun-93 22:18:48
Sb: #33594-object containers
Fm: Gail Meisner (TeamB) 71333,2143
To: Christoph Schifferli 100010,3542 (X)
Christoph-
How about containername??
If you do eventinfo.getTargetHit(uiobj), then you can check
uiobj.containername.
Gail
#: 33595 S1/Miscellaneous
07-Jun-93 16:10:43
Sb: #Printing Forms
Fm: Victor R. Breen 71213,3607
To: SYSOP (X)
I am using Paradox for Windows to enter data to a table through a graphical
form, and than to print the form for presentation to the customer. I use
drop-edit boxes in the form to simplify data entry. On printing the form the
drop edit arrows and boxes are confusing to the customer. I used run time to
make them invisible, but than the drop-edit boxes do not function. My current
solution is to have to 2 copies of the form under Windows active and to enter
with one, and print with the other. Any other suggestions? If not, is there a
way to lock the table on a particular record, so that when I switch from form
to form, the same record from the table is displayed.
Thanx
Victor
* Reply: 33831
#: 33831 S1/Miscellaneous
08-Jun-93 12:04:51
Sb: #33595-Printing Forms
Fm: Steve Neverve (Sysop) 71333,114
To: Victor R. Breen 71213,3607 (X)
Victor,
You may be able to attach OPAL code to the drop-down list box to hide it
when printing. Also, you can use OPAL code to keep the same record selected
from form to form. Please post in section 11, Using OPAL for support on
these issues. If you want to select a record on a table and have it goto
that record in the form, just select the record in the table and select
"F7".
Steve
#: 33596 S4/Forms
07-Jun-93 16:16:26
Sb: #33320-#MRO: can't write to file
Fm: Quinn Wildman (Sysop) 76703,3033
To: Ulrich Zindler 100271,313 (X)
>My originallay asked question was is there any limitation on placing objects
>into a MRO?
The only limit I can think of that applies to an MRO is that its height cannot
be less than .25 in.
* Reply: 33715
#: 33715 S4/Forms
07-Jun-93 22:18:42
Sb: #33596-#MRO: can't write to file
Fm: Gail Meisner (TeamB) 71333,2143
To: Quinn Wildman (Sysop) 76703,3033 (X)
Quinn/ Ulrich-
And the total number of objects can't exceed 100-
Gail
#: 33687 S4/Forms
07-Jun-93 21:23:41
Sb: #33320-#MRO: can't write to file
Fm: Rick Fillman (Sysop) 76702,273
To: Ulrich Zindler 100271,313 (X)
> My originallay asked question was is there any limitation on
> placing objects into a MRO? noone has answered it !! Why ??
Because we're not aware of any limitation. The only limit we
know of has to due with unique occurrances of bound fields
objects from a single table in a single form. But that limit
somewhere above one hundred. ... which is why I didn't think it
applied to you.
Maybe you could send me (via CIS mail) a file that shows the
problem. If you could allow me to actually see the problem ...
with a sample file that you would put together ... this would
help me a great deal in understanding what's going on.
I'm interested that situation you described where you add the
33rd field. Can you send ma a form with 32 field that causes
this error on the adding of a 33rd?
Rick Fillman, Tech Support (Borland)
#: 33598 S4/Forms
07-Jun-93 16:16:31
Sb: #33390-Need more MEMO methods
Fm: Quinn Wildman (Sysop) 76703,3033
To: Jake Craighead 76274,73 (X)
>I notice in the OPAL Reference that the Memo type contains no methods to get
>at the actual text and formatting. ...
That's because what you after changing is a property. It's certainly possible
to change any of these properties for a memo field. Give a shout if you have
problems doing so.
#: 33611 S5/Reports
07-Jun-93 17:46:21
Sb: #Print Report to File????
Fm: Larry Chop 73700,2317
To: Sysop (X)
In interactive mode, when I try to select the Generic / Text Only - File
printer (which works well on any other application, I get the dialog message
Printer Error
No Printer Fonts Available, printing diabled
What's up? I had just tested printing to the Generic / Text Only - File
printer in Windows Write - worked great.
Why not in PfW, especially in the interactive mode??
Larry
* Reply: 34102
#: 34102 S5/Reports
09-Jun-93 12:52:52
Sb: #33611-#Print Report to File????
Fm: Scott Arnett (Sysop) 76711,650
To: Larry Chop 73700,2317 (X)
Larry-
Make sure that you do not have Windows set to use only True Type fonts. Go
into the control panel and select Fonts and True Type. Make sure that "Show
Only True Type Fonts in Applications" is not checked.
-
Scott
#: 33613 S11/Using ObjectPAL
07-Jun-93 17:54:42
Sb: #DataActions & 1->M form
Fm: Robert Cooper 70524,2351
To: All
I create a 1->M form. No problem.
Now I want to let the user find a specific master record.
I write a procedure:
proc FindRecord()
action(MoveTopLeft)
action(DataSearch)
;got to be a better way
action(DataNextRecord)
action(DataPriorRecord)
endproc
After the DataSearch, I get the correct master record, but the detail record
is not
in sync. The only "easy" way I've found so far is what I written above. There
got to
be a better way. Anyone know what it is?
Thanks!
* Reply: 33812
#: 33812 S11/Using ObjectPAL
08-Jun-93 11:13:20
Sb: #33613-DataActions & 1->M form
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Robert Cooper 70524,2351 (X)
Replace the action( DataNextRecord ) and action( DataPriorRecord ) with an
action( DataRefresh )
Tarik
#: 33615 S1/Miscellaneous
07-Jun-93 18:05:59
Sb: #Crosstab/Report
Fm: Jeff Sims 70253,422
To: Sysop (X)
I am having difficulty reporting "crosstab"ed data.
After learning how the crosstab feature requires a form in PW, I then expected
that I could open an existing form as a report. Now I have read a reply to
questions about putting totals in a crosstab form. It appears that the
workaround is to generate a table from the form using a pushbutton.
This will also solve my problem, but I would like confirmation that there is
nothing built in (e.g., placing a crosstab object in a report as I can graph
objects) and that no one else has another workaround.
Thanks very much!
Jeff
* Reply: 33717
#: 33717 S1/Miscellaneous
07-Jun-93 22:18:53
Sb: #33615-#Crosstab/Report
Fm: Gail Meisner (TeamB) 71333,2143
To: Jeff Sims 70253,422 (X)
Jeff-
Confirmed. DataSaveCrosstab is the way to go. Crosstabs are not available
on reports.
Gail
#: 33617 S11/Using ObjectPAL
07-Jun-93 18:20:48
Sb: #Bug in openAsDialog?
Fm: Mark Eisenberg 70274,1473
To: All
Is there a bug in openAsDialog? If I try to use it, I get an AE. If I use
open instead, the form opens, but the formReturn() closes the calling form and
goes back to the top level form.
Details:
Form A opens and waits on Form B which opens Form C which is a dialog box. If
Form B uses an openAsDialog() an AE occurs when Form C calls formReturn(). If
Form B uses an open() then Form C returns to form A when formReturn() is
called.
Any ideas?
Thanks,
Mark
* Reply: 33813
#: 33813 S11/Using ObjectPAL
08-Jun-93 11:14:20
Sb: #33617-#Bug in openAsDialog?
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Mark Eisenberg 70274,1473 (X)
What are you doing in the close method of formC?
Tarik
* Reply: 33899
#: 33899 S11/Using ObjectPAL
08-Jun-93 15:39:10
Sb: #33813-#Bug in openAsDialog?
Fm: Mark Eisenberg 70274,1473
To: Tarik Ghbeish =Sysop= 76711,643 (X)
formClose()
Mark
* Reply: 34211
#: 34211 S11/Using ObjectPAL
09-Jun-93 18:30:35
Sb: #33899-Bug in openAsDialog?
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Mark Eisenberg 70274,1473
Ok. Don't perform closes or exits on a close. Do you close either ealier or
later in the sequence of events you are executing. You might want to also
look at which form you are closing when you call this. Are you accidently
trying to close itself (again)? If you need to close other forms when you
close this one, first make your cals to close the other forms, then introduce
a call to close your current form after you know the other calls are done.
Tarik
#: 33625 S2/Install/CFG/HrdWare
07-Jun-93 19:39:22
Sb: #Secondary Indexes
Fm: Steve Medley 100026,1077
To: Tarik Ghbeish 76711,643 (X)
Tarik,
Can you Help with the following:
TABLE Structure
Site Number S*
Site Name A20 (Maintained Secondary Index)
Other details - unimportant
Approx 2500 Records
REQUIREMENT
To let the user type in a partial string of characters of the Site name field,
to be presented with a list of sites that match the selection criteria. The
string can be any set a squential characters and in any position (Not
necessarily the First position).
MY SOLUTION
Is to accept a string of characters from the user and build up a field with
preceeding and suceeding "..", such as "..ASH..". This variable is placed into
a query and executed. A multi record form is when displayed linking the Answer
table.
This process works with interesting results. The first time it is executed it
takes about 20 secs and subsequent executions take about 2 secs. I can only
assume that Pdoxwin is holding the secondary index in the Cache or table
buffer. Secondly, I wouldn't have thought a secondary index would be of great
benefit in this situation as the selected chars may well be in any position
within the field.
Question.
1. Is there a better way to acchieve that above result as this ultimatly has
to operate on a Lan that has fairly heavy traffic, and is the bane of my life.
Regards
Steve Medley
* Replies: 33893, 33982
#: 33893 S2/Install/CFG/HrdWare
08-Jun-93 15:12:27
Sb: #33625-Secondary Indexes
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Steve Medley 100026,1077 (X)
I don't think Paradox is using the secondary index for this. More likely is
that the table is held in the buffer, speeding the query. This is the main
purpose for the table buffer, after all. The only better technique I could
think of using setFilter wouldn't apply here since you are matching randomly
anywhere in the string.
Tarik
#: 33982 S2/Install/CFG/HrdWare
08-Jun-93 21:02:48
Sb: #33625-#Secondary Indexes
Fm: Robert Ramirez (Sysop) 76702,255
To: Steve Medley 100026,1077 (X)
Hello Steve,
I worked on a variation of what you are trying to do and came up with this:
This example relies on the Customer.db table in the private directory.
Lets say I have a field on my form, Myfield, and in that field I have the
following code attached to the following Built-in methods. When I'm viewing
my data, I can go to this field and start entering a new name to locate. For
each character entered, including the backspace, I locate on that value. Hope
this helps...
;Var of the field
Var
s string
tc tcursor
Endvar
;Open of the field
Method Open(var eventinfo Event)
s = ""
Endmethod
;Keychar of the field
Method KeyChar(var eventinfo keyEvent)
Action(editEnterpersistfieldview)
dodefault
tc.open("Customer.db")
s = s+eventinfo.char()
tc.locatepattern("Name",s+"..")
Name.resync(tc)
endmethod
;Keyphysical of the field
Method keyphysical(var eventinfo keyEvent)
if eventinfo.vcharcode() = VK_Back and s<>"" then
s = s.substr(1,size() -1)
tc.locatepattern("name",s+"..")
name.resync(tc)
Endif
Endmethod
;depart of the field
Method depart(var eventinfo moveevent)
self.value = ""
endmethod
~Robert
Borland Tech. Support
#: 33637 S11/Using ObjectPAL
07-Jun-93 20:09:43
Sb: #controlling dialog forms
Fm: Paul Reeves 100141,2330
To: sysop (X)
I'm having a helluva time trying to use openasdialog()
1/ I can't get it to load unless I use winstyledefault or winstyledialog.
2/The latter loses my titlebar. I've tried concatenating the constants and
then openasdialog method fails.
3/ If I interactively set the dialog form as modal, and then call it with
openasdialog it loses focus.
4/ Lastly, setting the co-ordinates after using winstyledefault has no effect.
My aims are to load a dialog form in a specific place and prevent the user
doing anything else till the close the box. How do I do it?
Thanks in advance for all help gratefully received.
Paul
* Reply: 33814
#: 33814 S11/Using ObjectPAL
08-Jun-93 11:16:13
Sb: #33637-controlling dialog forms
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Paul Reeves 100141,2330 (X)
Don't use openAsDialog. It's redundant and more difficult to use then open.
Set the dialog properties interactively and use the open command to specify
coordinates with the FormOpenInfo record stuff. Dialogs by default open
centered in the screen.
Tarik
#: 33654 S1/Miscellaneous
07-Jun-93 20:33:09
Sb: #33174-Tech Help
Fm: Brian Reed (Sysop) 71333,2360
To: Neil J. Salkind 70404,365
Neil,
Please see response from Mike Irwin (message #33288). One addendum pertains
to global select of header. Click on the header until you have the word
header in brackets on the status bar, then use Shift-F6 to inspect the items
in the header. You will then be able to change the header font for all
fields.
Hope this helps,
Brian Reed (sysop)
#: 33671 S1/Miscellaneous
07-Jun-93 20:36:16
Sb: #33376-Help
Fm: Brian Reed (Sysop) 71333,2360
To: Stewart Wells 70571,1523
Stewart,
It is true that you cannot calculate and sum on the calculations in a report.
What you can do is perform your calculations in a query, base the report on
the query or answer table and then you will be able to sum those fields.
Brian Reed (sysop)
#: 33672 S1/Miscellaneous
07-Jun-93 20:43:24
Sb: Questions
Fm: EDWARD S. PAULEY 72164,1042
To: sysop (X)
A few of questions.
1. Does PW work with Windows for Workgroups?
It would seem that every time I leave the network (I'm the server) it takes
everyone on the network a long time before they can attach back on or they
can't attach at all.
2. When I crash I get the message "ODAPI is busy", and I can't
enter the Program unless I exit Windows and enter back in. If I do that I
have problem #1 above. Can I avoid this?
3. How do I use "Form|Order/Range" in my form? I know how to use
setindex, setfilter, but I need to use a secondary index in the form view not
in the table object. I know I can use Form|Order/Range and then choose my
Secondary Index, but how do I do it automatically.
4. Sometimes I get "lock violation" when I'm in a form and
someone is also in the same form. Why and how do I avoid this?
5. Would the Runtime Version eliminate any of these problems?
6. When Where and How with the runtime version?
#: 33689 S4/Forms
07-Jun-93 21:23:50
Sb: #33363-Losing fonts in forms
Fm: Rick Fillman (Sysop) 76702,273
To: Bo Wannerberg 70043,3010 (X)
> I am losing font definitions in my forms. I create all fields
> with standard font Arial 10, and save
This sounds pretty weird. Font problems related to Windows fonts
is my best guess. Let's see if we can isolate the problem to one
font or another. What happens if you select a different font
(for the entire form). Try Ctrl-Right-Click to select all
objects.
Also .. under Windows Control Panel, Fonts .. there's an option
for "Show only True Type" - is this checked? If so, un-check
this.
Other ideas? Kind of a long shot, but try changing printer
driver selection in Windows Control Panel.
Hope some of this helps. Let me know.
Rick Fillman, Tech Support (Borland)
#: 33691 S4/Forms
07-Jun-93 21:24:01
Sb: #33413-Form Design Questions
Fm: Rick Fillman (Sysop) 76702,273
To: John Mitchell 71603,221 (X)
> I need to let the user change tables on the fly.
> How can I attach the new table to the form? The form will only
> display info from one table, although I attached four tables,
> with identical data structures, in the Data Model dialog box.
Table_Object.TableName="newTable.DB"
The TableName part of the above is a property.
> Also, is there any way to open a report without letting
> the user change it around? I want the user not to able to change
> any of the structures I'm creating - with good reason.
Don't Open it (i.e avoid the Open method). Go strait for
Report.Print.
> is there a bulletproof way to let the
> user change the sort field of a table on the fly?
If you have various 2ndary indexes established, you can, via
Opal, perform the following:
Tc.Open("Table.DB")
Tc.switchIndex("newIndex")
Table_Object_Name.Resync(Tc)
Where the Tc is a tCursor variable.
Hope this helps.
Rick Fillman, Tech Support (Borland)
#: 33695 S4/Forms
07-Jun-93 21:24:56
Sb: #33413-#Form Design Questions
Fm: Bill Todd (Kallista) 75046,1345
To: John Mitchell 71603,221 (X)
John,
1) Why not use a four page form with the pages stacked and provide three
pushbuttons on each page to allow the user to move from page to page. If you
stack the pages the user will only be able to see one page at a time and you
can have one table on each page.
2) I am not sure I understand this question. If you are asking if there is a
way to keep the user from going into design mode on a report but still allow
the user to run it the answer is yes. Just deliver the report and give the
user the delivered version. See delivering in the Developers Guide.
3) Don't restructure the table! Build secondary indexes to provide the
viewing orders you want and change them using switchIndex. Unfortunately
switchIndex does not work for UIObjects at the moment so you must use a
TCursor.
var
tc TCursor endVar
tc.open("theTable") tc.switchIndex("myIndex") UIObject.resync(tc)
Bill
#: 33700 S4/Forms
07-Jun-93 21:31:53
Sb: #Forms & Reports?!?!
Fm: Shirley J Cook 72520,664
To: All
I have table from 3.5 that I'm trying to use in Windows (I've already deleted
3.5 from my hard drive and don't relaly want to re-load it!) Where are my
reports, queries, and forms that were originally a part of the 3.5 table? I
tried loking for them, but to no avail. I'd appreciate any help -- quickly!
Thanks, Shirley
* Reply: 33904
#: 33904 S4/Forms
08-Jun-93 16:05:56
Sb: #33700-#Forms & Reports?!?!
Fm: Quinn Wildman (Sysop) 76703,3033
To: Shirley J Cook 72520,664 (X)
Sorry, report, forms and scrips from Paradox for DOS (any version) are not
usable in Paradox for Windows.
#: 33703 S9/Learning ObjectPAL
07-Jun-93 21:36:26
Sb: #table.enumrefintstruct()
Fm: Terry Moriarty 71310,2172
To: Washington Public Power 72360,1774 (X)
Thanks for your reply.
Your application has more data than the one I working on, but we have about 40
reports. Unfortunately, I'm not all that sure we will be able to produce
these reports easily with PdoxWin. We have about 250 fields in all. Lots of
recursive relationships too, but Pdoxwin handles them nicely.
Did you have much problem developing this application? I'm still getting
windows errors and I'm worried about whether they will continue with the
implemented application. Most of these GFP are occurring in the development
functions, rather than when running the application.
Thanks again.
* Reply: 33842
#: 33842 S9/Learning ObjectPAL
08-Jun-93 12:22:16
Sb: #33703-#table.enumrefintstruct()
Fm: Washington Public Power 72360,1774
To: Terry Moriarty 71310,2172 (X)
Terry:
I am having some trouble delivering my app. My 2 major problems are:
* Resource limitations on forms. I wanted to design forms which contained
more objects and/or lines of code than PFW was comfortable with. I had to
completely rescope and redesign.
* Time investment. In addition to the basic learning curve, I had to spend a
lot of time isolating, documenting, and working around anomalies. I felt that
the time spent negated a lot of the productivity benefits supposedly gained
from working in a high-level language.
You may want to talk to David Ellis, who has _delivered_ a PFW app (yay,
David!). My app is stil under development.
* Reply: 34029
#: 34029 S9/Learning ObjectPAL
09-Jun-93 00:38:03
Sb: #33842-#table.enumrefintstruct()
Fm: Terry Moriarty 71310,2172
To: Washington Public Power 72360,1774 (X)
I don't think we will have resource limitations on form problem, although we
do have two complicated forms. We planned on using multi-pages, but maybe
multiple forms would be a better approach.
I too have alot of notes on work-arounds to accomplish things. In a sense, my
company was lucky because I built an application on my own time which absorbed
the learning curve and found most of the major problems (I think). So the next
application should get the productivity benefits. However, I'm not the
programmer on that application, but the data modeler and database designer.
So I think quite a bit of my time will be in hand-holding while the others go
through their learning curve. Theirs should be shorter because they have
access to me.
We plan on making the "go-no go" decision on this application on Friday. There
is some desire to wait until the next maintenance release of the PDoxWin
before starting the development.
Thanks for your insight.
Terry
* Reply: 34148
#: 34148 S9/Learning ObjectPAL
09-Jun-93 15:23:14
Sb: #34029-table.enumrefintstruct()
Fm: Washington Public Power 72360,1774
To: Terry Moriarty 71310,2172
No problem. PFW is a good investment, but perhaps a long-term one. If you
want to do big work with it in 1.0, you need to commit to making it work.
Norm
#: 33709 S9/Learning ObjectPAL
07-Jun-93 22:00:59
Sb: #more control over forms
Fm: Gary Spinelli 75600,1201
To: sysop (X)
I used the example on page 275 of your ObjectPAL Developer's Guide as a
starting point for a update option on an application I'm working on. But,
I'm having a heck of a time bringing up a form with a blank multi-record
object
(for adding a new record). Even though I insert a record in the "arrive"
method of the multi-record object (see below)
var
stepTC TCursor
endvar
stepTC.attach(pfdline) ;pfdline is the multi-record object
stepTC.edit()
stepTC.insertRecord()
pfdline.moveToRecord(stepTC)
The form always seems to position itself on the first record already loaded
with data.
One more question. I'd like to take control my form in a way similar
to the WAIT RECORD UNTIL instruction from PAL. Right now I'm trapping all
the functions keys in the keyPhysical method of the form. There's got to
be a better way.
* Reply: 33748
#: 33748 S9/Learning ObjectPAL
08-Jun-93 02:06:12
Sb: #33709-more control over forms
Fm: Randy Sell (Sysop) 75300,2147
To: Gary Spinelli 75600,1201 (X)
Gary-
>>The form always seems to position itself on the first record already loaded
with data.
If I may, let me suggest an easier method as it doesn't appear using a tCursor
is needed here.
multi_RecordObject::Arrive
method arive(....)
dodefault
self.insertRecord()
endMethod
This assumes the user is already in edit mode. Hasn't been tested. If it
gives problems, put the same code on the multi_RecordObject::setFocus.
>>One more question. I'd like to take control my form in a way similar
to the WAIT RECORD UNTIL instruction from PAL. Right now I'm trapping all
the functions keys in the keyPhysical method of the form. There's got to
be a better way.
Yes there is a better way. Bascically the PAL WAIT RECORD UNTIL doesn't allow
you to leave a record until certain conditions are met. To do this in OPAL,
you would check these conditions on the record::CanDepart. Looks something
like this...
record::CanDepart
method CanDepart(...)
if not this_condition and not that_condition then
eventinfo.setErrorCode(nonZeroConstant)
endif
endMethod
Setting the error code to a non zero value causes the event cycle to stop, in
effect stoping the user from leaving that record until those conditions are
met.
Hope this helps,
Randy Sell
PDW Technical Support
#: 33720 S11/Using ObjectPAL
07-Jun-93 22:39:20
Sb: #MenuWindowCloseAll
Fm: Brian McKinley 70524,2535
To: All
All,
Why is it that what appears to be easy can be the most difficult to impliment?
Is there a way to close all windows before exiting an application? I have
tried using the MenuAction constant MenuWindowCloseAll with no success. Has
anyone found a work around for this problem?
Any help would be appreciated.
Brian
* Reply: 33816
#: 33816 S11/Using ObjectPAL
08-Jun-93 11:22:34
Sb: #33720-#MenuWindowCloseAll
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Brian McKinley 70524,2535 (X)
EnumFormNames to an array and step through the array closing all forms with an
attach and then a close. Be careful not to close the current form until you
are done with all the others.
Tarik
#: 33811 S11/Using ObjectPAL
08-Jun-93 11:11:37
Sb: #33590-MenuWindowCloseAll
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Jim McGerigle 72113,2707 (X)
No patches. Try enumerating the forms into an array and stepping through the
array with an attach and a close for each form. Be careful to eliminate or
ignore your current form that is handling the menuAction until you have closed
all other forms.
Tarik
#: 33931 S11/Using ObjectPAL
08-Jun-93 17:54:53
Sb: #MenuWindowCloseAll
Fm: Brian McKinley 70524,2535
To: Tarik Ghbeish =Sysop= 76711,643 (X)
Tarik,
I tried to implement closing all the form using enumFormNames. The code
is in a library, and it looks something like this:
enumFormNames( FormNames )
for i from 2 to FormNames.size()
f.attach( FormNames[i] )
f.close()
endfor
f.attach( FormNames[1] )
f.close()
The above code works just fine and closes all of the forms, BUT...I don't
recall if I mentioned in my first note, that I want to close all the forms
before exiting the application. Exiting the application includes exiting
Paradox for Windows. Adding the Exit() function to the above code gives
me a GP error. I beleive this is what you call a catch 22. I need to
close all of the forms before exiting, but to exit under objectPal control
I need a form. I tried geting the window handle to the Paradox for
Windows window and posting a WM_Close command instead of the Exit() command,
but alas, this too resulted with a GP error.
How can I close all of the windows and exit Paradox for Windows?
Thanks again for the help.
Brian
* Reply: 34208
#: 34208 S11/Using ObjectPAL
09-Jun-93 18:30:26
Sb: #33931-#MenuWindowCloseAll
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Brian McKinley 70524,2535 (X)
Be careful not to close the last form that called the library. Then you have
several options. You can try to place an exit() on the close method of the
main controlling form, but I think this won't work correctly either
(sequence). You COULD launch a script on the close method of the final form
that set's itself a timer. In the timer method try to attach to the last form
everytime it fires off. WHen you can no longer attach, you know it is safe to
execute an exit command.
Tarik
* Reply: 34284
#: 34284 S11/Using ObjectPAL
09-Jun-93 23:12:50
Sb: #34208-MenuWindowCloseAll
Fm: Brian McKinley 70524,2535
To: Tarik Ghbeish =Sysop= 76711,643
Tarik,
Thanks again for the ideas.
>Be careful not to close the last form that called the library. Then you have
>several options. You can try to place an exit() on the close method of the
>main controlling form, but I think this won't work correctly either.
You are right, I tried this and it did not work.
>You COULD launch a script on the close method of teh final form that set's
>itself a timer. In the timer method try to attach to the last form
>everytime it fires off. When you can no longer attach, you know it is safe
>to execute an exit command.
I will try this tomarrow. I tried launching a script and putting the exit
there, but I didn't think of using a timer with a script. In fact, I didn't
know that scripts had timer methods. This opens up many other
possibilities.
Thanks again,
Brian
#: 33723 S11/Using ObjectPAL
07-Jun-93 22:48:21
Sb: #33642-#DataLookup & ChangeValue
Fm: Gail Meisner (TeamB) 71333,2143
To: Randy Magruder (Borland) 70720,663 (X)
Randy/ David -
I missed the beginning of this thread, but I presume the initial question
was something like "Why doesn't changevalue get called in response to a
DataLookup"? I remember a discussion a while back concerning the fact that
changevalue looks at the "temporary field memo thing". DataLookup doesn't
operate through the temporary thing and therefore doesn't trigger
changeValue.
Is this anything that hasn't already been said? Is it true??
Gail
* Reply: 33992
#: 33992 S11/Using ObjectPAL
08-Jun-93 22:00:28
Sb: #33723-DataLookup & ChangeValue
Fm: Randy Magruder 70720,663
To: Gail Meisner (TeamB) 71333,2143 (X)
Gail,
Yes, the reason it doesn't trigger a changeValue is that it changes the
contents of the data model, not UIobjects. Its a table-level valcheck and
therefore works at the table level REGARDLESS of whether the fill-in fields
are on the form. It was suggested changeValue should be called anyway, and I
promised to pursue it.
Randy
#: 34200 S11/Using ObjectPAL
09-Jun-93 18:30:00
Sb: #34036-DataLookup & ChangeValue
Fm: Tarik Ghbeish =Sysop= 76711,643
To: David L. Hoffman 73670,1775
You would want want to trap that (keyviolations) in an action called
DataPostRecord or DataLockRecord anyway which would still get called when you
try to post. It wouldn't/shouldn't effect your code in that example, unless
that (the changeValue) is how you're deciding when to try and force a post.
Tarik
#: 33724 S1/Miscellaneous
07-Jun-93 23:09:06
Sb: #33450-#Aborts
Fm: Gil Garnsey 75330,3647
To: Steve Neverve (Sysop) 71333,114 (X)
I've got a friend where I work who has looked at the problem, and is
helping me with it, I've also got a note into MICROSOFT about the error.
My concern which BORLAND should help me with is the aborts. I found the TI
document regarding how to setup AUTOEXEC.BAT and CONFIG.SYS to run 'bare
bones' and followed the instructions. I continue to get occasional aborts,
with messages such as
"PDOXWIN caused a General Protection Fault in module " followed once by
"USER.EXE at 0006:1AA6", once with "PDOXWIN.EXE at 0003:33A3", once with
"PDOXWIN.EXE at 000A:00E7", and finally "PXDSRV2.DLL at 0011:0064". There have
been others but I've given up keeping track of it. I installed PDOXWIN on
another system I have available to me at work, and it too is generating these
types of messages. Needless to say, rather than have two computers get screwed
up, I've erased it from the 2nd system.
While I find Paradox is providing me with tremendous functionality to
addressing some key business requirements I have, I must admit I'm seriously
considering switching to something else, and recommending others to do the
same. I would really appreciate some direction in this matter ASAP!!!!!
* Reply: 33828
#: 33828 S1/Miscellaneous
08-Jun-93 12:04:37
Sb: #33724-#Aborts
Fm: Steve Neverve (Sysop) 71333,114
To: Gil Garnsey 75330,3647 (X)
Gil,
I'm sorry for the inconveniences that you are occuring. If you are getting
GPF's with the simple system, then you must have a memory conflict with yuor
viedo drivers. Did you add EMMEXCLUDE=A000-C7FF the the 386Enh section of
your System.ini? Again this is a generic range of memory. You really need
to know the exact range of memory that you are using. Anyways, if you have
added the EMMEXCLUDE, delete it and try FRAME=E000.
As for the PXDSRV.DLL, remove all of your printers in the control panel.
Next, go to the Windows\System directory and delete your printer driver
files. Your printer drivers, along with all other drivers like screen
drivers, have the extension .DRV. So make sure that you only delete your
printer drivers. IE; HPPCL5.DRV for the LaserJet 3 series printers. Once
you have done that, reinstall the printers in the control panel using
Windows disk 6.
Steve
* Replies: 34007, 34022
#: 34007 S1/Miscellaneous
08-Jun-93 22:40:31
Sb: #33828-Aborts
Fm: Gil Garnsey 75330,3647
To: Steve Neverve (Sysop) 71333,114 (X)
I'll try this and I hope you're right. My concern continues to be the fact I
can create this type of problem on two separate computer systems, both with
generic type configurations. If it takes a lot of special work to make Paradox
run, I'm not certain you've got a viable package on your hands.....
#: 34022 S1/Miscellaneous
08-Jun-93 23:39:56
Sb: #33828-#Aborts
Fm: Gil Garnsey 75330,3647
To: Steve Neverve (Sysop) 71333,114 (X)
Steve, I sent an initial reply upon reading your note. Have tried your FRAME
recommendation, and continue to get an abort. I don't understand the delete
driver thing, because when I had the abort, I wasn't printing.....
Browsing thru the messages, I can see what appears to be a fairly consistent
problem being reported about PARADOX aborts a GPF's. I'm really starting to
think Borland has a problem on their hand.
I continue to wait for a resolution to my problem....
* Reply: 34193
#: 34193 S1/Miscellaneous
09-Jun-93 18:25:16
Sb: #34022-Aborts
Fm: Steve Neverve (Sysop) 71333,114
To: Gil Garnsey 75330,3647 (X)
Gil,
Paradox does not have any known memory problems. The system that I am using
works fine. I just cannot stress enough the importance of proper
configuration in todays complex computing environment. Things like
excluding your video and network drivers from memory are real important.
Again, GPF's are due to memory conflicts. The ONLY way to troubleshoot
these types of problems are to exclude memory and follow TI1283.ASC in LIB1.
The frame command I gave you excluded a larger range of memory than the
EMMEXCLUDE. For a full description of these commands, you can refer to your
Windows 3.1 manual. Also, if you have the Windows resources kit, there is
a section that discuesses GPF and how to correct them.
Steve
#: 33730 S5/Reports
07-Jun-93 23:30:12
Sb: #Printer Orientation
Fm: David J. Spigelman 74640,1306
To: sysop (X)
I'm working on a price list report. I have set up a multi-record report to do
the job. I set the Page Layout Orientation to Landscape.
When I accidentally forget to change the printer orientation to Landscape, the
report prints with no delays. It get's clipped off when it runs out of room on
the page, but it DOES go to print. When I select Landscape from Modify Printer
Setup and THEN try to print the report, I get the message, "Possible
orientation mismatch between printer setting and document layout!"
I can't figure out why it's doing this. For the most part, there is no problem
when printing, but occasionally, the lines drawn at the bottom of the page
don't print. Any suggestions?
-David
* Reply: 33881
#: 33881 S5/Reports
08-Jun-93 15:06:13
Sb: #33730-#Printer Orientation
Fm: Ken Merson -Sysop- 76117,3146
To: David J. Spigelman 74640,1306 (X)
Is the report designed for the screen or the printer?
In some cases, a second call to the page layout dialog (Report | Page layout |
OK -- don't change anything!) will correct the confusion.
Let me know if this helps your situation.
Ken Merson :^,
* Replies: 34062, 34105
#: 34062 S5/Reports
09-Jun-93 09:40:38
Sb: #33881-#Printer Orientation
Fm: David J. Spigelman 74640,1306
To: Ken Merson -Sysop- 76117,3146 (X)
Ken -
The report is designed for the printer.
>In some cases, a second call to the page layout dialog (Report | Page layout
| OK >-- don't change anything!) will correct the confusion.
I tried this, but it didn't help. I appreciate your help.
-David
* Reply: 34185
#: 34185 S5/Reports
09-Jun-93 17:45:00
Sb: #34062-Printer Orientation
Fm: Ken Merson -Sysop- 76117,3146
To: David J. Spigelman 74640,1306
Working on my own, I've sen that the report seems to want to hold on to the
orientation in which it was _created_ when it comes to orientation mismatch
checking. Changing the layout afterwards seems to make no difference in this
regard.
I guess the net effect of the warning , sometimes, is to make you think about
the layout issue, rather than actually do anything about it.
resolution:
Since you have settled on the design you want, create a new, blank report with
the same datamodel as the original, setting the layout correctly at create
time. Select and copy all the ui objects (tableframes/fields etc) and paste
them into the new report. After this, the report layout warnong will be more
important to you.
hope this helps,
ken merson :^,
#: 34105 S5/Reports
09-Jun-93 12:56:57
Sb: #33881-Printer Orientation
Fm: Michael Meservy 76656,300
To: Ken Merson -Sysop- 76117,3146 (X)
I am experiencing this problem also. It seems to occur when I start to define
and report in lanscape mode and then switch to portrait. Even though no
fields are defined outside the range or margins of the current orientation, I
still get the message of possible page orientation problem. Thanks for any
help you can offer.
#: 33731 S4/Forms
07-Jun-93 23:49:25
Sb: #Quick Form
Fm: Peg M. Molter 72134,2727
To: All
I am a brand new Paradox user, although I've had a little with D-Base IV.
While following the documentation on how to create a quick form, then exit: I
double click on the form's control menu. It brings up the prompt
Newly created document
Form: New
Do you want to save it?
When I answer "yes," I'm supposed to be taken to the "Save File As" dialog
box. Instead, I'm taken to the Forms Design window. When I double click on
THAT control menu, it brings up the same "save" prompt, and when I answer
"yes," I'm then taken to the dialog box described above. All the
documentation indicates I shouldn't be going through the design window when
saving the quick form. Any suggestions?
Thanks for your patience with a really basic-type question. - - - Peg
* Reply: 33906
#: 33906 S4/Forms
08-Jun-93 16:06:02
Sb: #33731-#Quick Form
Fm: Quinn Wildman (Sysop) 76703,3033
To: Peg M. Molter 72134,2727 (X)
The product is operating as indended here. The idea is that a form can only
be saved when you are in design mode, so if you tell a form to save itself
from run mode, it takes you to design mode so it can be saved.
#: 34278 S4/Forms
09-Jun-93 22:58:43
Sb: #33955-Quick Form
Fm: Peg M. Molter 72134,2727
To: Rick Fillman (Sysop) 76702,273
Rick,
Thanks so much for your quick response. I really appreciate it. I have one
more question about logical operators in a query. When I use the comma as the
logical AND in conjunciton with the NOT operator, (e.g., delete from this
table all records whose "name" is . . . NOT Smith,NOT Jones. . . I end up
with "Jackson and Riley," just what I wanted. When I accidentally used . . .
NOT Smith AND NOT Jones. . . , I ended up with "Smith, Jones, Jackson and
Riley." The program "thought" I meant . . . all those whose name is both Smith
and Jones, a mutual exclusion. 1) Why the difference between the two "and"
operators? 2) It seems a little inconsistent that the syntax for the logical
"or" is "OR", but a comma, rather than "AND" for the "and" operator.
Thanks again . . . Peg
#: 33737 S1/Miscellaneous
08-Jun-93 00:35:24
Sb: Programmer Needed
Fm: Jonathan Shema 71630,542
To: Anyone
Nabisco, in northern NJ, is interested in contacting a professional paradox
programmer(s) to assist us in developing applications in Paradox/windows.
Databases will range from simple list handlers to complex systems where
techniques will need to be established to get information from our mainframe
database systems.
If you are a professional database programmer, in or around NJ, and want to
offer assistance, please call Jonathan Shema at 201-503-3344. or leave mail.
Thanks
#: 33744 S3/Tables/TableView
08-Jun-93 01:19:53
Sb: #Detail Table Op Failed
Fm: Ed Malloy 72701,1174
To: Sysop (X)
I am (was) creating referential integrity links between tables in a
construction database (jobs, labor, mtls, etc.) . Towards the end, I linked
Labor to both Jobs (labor target) and Mechanics (labor performers), and got
the message: "Detail TableOpen Operation Failed. ".." Labor.db" (the table
that I was modifying). After this, the Jobs table would not open. I copied
jobs to jobs2 and that table opened and contains all the data, but I cannot
modify the labor table
.
Is it possible to create "circular" ref-integrity that locks a table?? I don't
think that I have, but I have a couple of many-many relationship tables.
Is there a reference paper or on-line to error messages? are there err-mess
No'?
Totally unrelated ... Two BIG Needs -- points/picas rulers !!! and Ctrl-X,C,V
utility everywhere, not just in editing procedures. PLEASE <g>
Thanks
Ed
* Replies: 34034, 34082
#: 34034 S3/Tables/TableView
09-Jun-93 00:57:11
Sb: #33744-#Detail Table Op Failed
Fm: Bruce MacDonald 70277,3515
To: Ed Malloy 72701,1174
I too just got the same problem this evening. First I created a few tables,
and then defined the referential integrity and secondary indexes. Now I have
one table that I can't restructure; I get the "Detail table open failure"
message for the table I am trying to restructure.
A table I have linked to it with referential integrity cannot open at all -- I
can't even open the restructure dialog.
As Ed did, I searched in vain for an error messages book. This is a must
guys!
So ... any ideas anybody?
Bruce
#: 34082 S3/Tables/TableView
09-Jun-93 11:53:30
Sb: #33744-Detail Table Op Failed
Fm: David Orriss Jr(Sysop) 75300,1414
To: Ed Malloy 72701,1174
Ed,
We're not entirely sure why this problem occurs. We are currently looking
into similar issues here in Tech Support for exact causes of this. In the
mean time, consider these ideas/suggestions when you set RI (Referential
Integrity).
1)To get access to your tables again delete the VAL files for the tables.
2)Make it the *last* thing that you set when creating an application. If you
set RI and then need to change the tables you may end up needing to do
suggestion 1 to get the tables to release RI.
I hope these suggestions are useful.
David
#: 33766 S11/Using ObjectPAL
08-Jun-93 07:42:58
Sb: PFW and Out of memory
Fm: PENET JOHNNY 72377,3426
To: Randy Sell 75300,2147 (X)
Dear Randy,
I finaly solved my problem with the message out of memory. In fact it has
nothing to do with running out of memory. I simply make a mistake in
objectpal. I did a display of a menu, but the object menu was not initialised.
I have the impression that the error messages coming out of PFW are not
exactly as it has to be. Maybe You can pass this message to the development
people. It must be a hard time if support people like you Randy if you can not
rely on the messages. Thanks anyway for hints, it made me looking elsewhere.
Johnny
#: 33769 S9/Learning ObjectPAL
08-Jun-93 08:05:41
Sb: #AutoFill imbedded table
Fm: Brad Morris 71035,753
To: all
I am working with a Form that has an imbedded table. The DB Table is called
Lineitem.db .
In that table my fields are Qyt, Unit_Cost and Total.
What I would like to be able to do is enter the Cost and Qty and have the
Total Field automatically be filled in. How is it done?
Thanks for the Help!
Brad
* Replies: 34001, 34004
#: 34001 S9/Learning ObjectPAL
08-Jun-93 22:22:28
Sb: #33769-AutoFill imbedded table
Fm: Rod Niner 72673,2130
To: Brad Morris 71035,753 (X)
use ChangeValue method attache to Qty and Unit_Cost that computes the total
anytime the two fields are changed. there is an example in learning
objectpal. I use code like this for a simular function
method changeValue(var eventInfo ValueEvent)
doDefault
if not Self.isBlank() then
if not Qty_Ordered.isBlank() then
Total_Ordered.Value=Self.Value*Cost_Ea.Value
else
Total_Ordered.Value=0
endIf
if not Qty_Received.isBlank() then
Total_Received.Value=Self.Value*Cost_Ea.Value
else
Total_Received.Value=0
endIf
else
Total_Ordered.Value=0
Total_Received.Value=0
endIf
endmethod
#: 34004 S9/Learning ObjectPAL
08-Jun-93 22:29:48
Sb: #33769-AutoFill imbedded table
Fm: Richard Wagner (TeamB) 71333,2031
To: Brad Morris 71035,753 (X)
Brad,
One idea is to put a depart method on either your Unit Cost or Qty field
(which ever comes last) so that when you leave that field, the method
calculates the total field and gives the field a value. The code would look
something like:
Total.value = Unit_Cost * Qty
Richard Wagner
#: 33778 S1/Miscellaneous
08-Jun-93 09:13:56
Sb: #ParaWIN vs ParaDOS Speed
Fm: Eileen Dolan 76077,2454
To: ALL
How is the speed of the queries in ParaWIN as compared to ParaDOS 4 ??? How is
the speed of the queries in ParaWIN as compared to ObjectVision 2.1?
SPEED is the name of the game in user based GUI applications. Do you know of
ANY user willing to wait 30+ seconds for a search (query)??? That's how long
you have to wait in ObjectVision on 2000 records (on a 486-33 with 8MB of RAM)
and in some cases over a minute! Does anyone know when the ObjectVision
Converter to ParaWIN will be available?
Steve K. . .
-
~~~
* Reply: 33838
#: 33838 S1/Miscellaneous
08-Jun-93 12:05:26
Sb: #33778-ParaWIN vs ParaDOS Speed
Fm: Steve Neverve (Sysop) 71333,114
To: Eileen Dolan 76077,2454 (X)
Eileen (Steve)
We do not have any benchmark data comparing queries in PDOX (DOS), PFW, or
OV. You probably will not see any increased speed between PDOX (DOS) and
PFW. Generally, Windows applications tend to be slower than DOS
applications. You may want to try
a. upgrading to 12MB of RAM
b. removing all memory resident programs from memory
Steve
#: 33789 S9/Learning ObjectPAL
08-Jun-93 09:58:36
Sb: #objectpal errors
Fm: Pat Casey 100041,714
To: Randy Sell 75300,2147 (X)
To: Randy Sell (Sysop) 75300,2147 From: Pat Casey 100041,714
It's like going to the dentist - I couldn't recreate that error code again but
I found another one which I can definately reproduce.
method pushbutton var
k,l smallint endvar
k=100
try
l=k/0 ; try dividing by zero
onfail
fail() ; trigger built in error method
endtry endmethod
method error() ; built in error method
msginfo"Error",strval(eventinfo.errorcode()))
This wil produce the error code 34849 - any ideas?
Thanks Pat
* Reply: 34006
#: 34006 S9/Learning ObjectPAL
08-Jun-93 22:37:21
Sb: #33789-objectpal errors
Fm: Randy Sell (Sysop) 75300,2147
To: Pat Casey 100041,714 (X)
Pat-
don't use eventinfo.errorcode() <-- gives a number
use:
errorshow("some thing west wrong...")
or
errormessage()
which should yield the error message "Cannot divide by zero"
I recomend using errorshow() because it shows the entire error stack, whereas
errormessage shows the last eror (on the top of the error stack). errorShow()
has to one of the best debugging tools put into the language.
Happy programming
Randy Sell
PDW Technical Support
#: 33801 S11/Using ObjectPAL
08-Jun-93 10:52:27
Sb: #Form.wait() from script
Fm: Mark K. Lamb 76247,1424
To: Tarik Ghbeish =Sysop= 76711,643 (X)
I seem to be having a problem with opening and waiting on a form from within a
script. Following is an example of the code:
var
F Form
endVar
F.open("main.fdl")
F.wait()
F.close()
The form "main" is setup as a window and not a dialog box. The problem I have
is that once I issue the wait my mouse no longer functions. The mouse will
move but when I click the mouse all I get is a beep. The problem does not
occur if I use F.openAsDialog("main.fdl") but I don't want my main form to be
a dialog box.
Any Ideas?
Thanks...
* Reply: 33889
#: 33889 S11/Using ObjectPAL
08-Jun-93 15:12:17
Sb: #33801-#Form.wait() from script
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Mark K. Lamb 76247,1424 (X)
You cannot issue a wait in a script. You are basically telling the form you
are waiting on the be a child of the object that is performing the wait
(dialog boxes are exception since they aren't children). Scripts don't know
how to handle mouse events, so the mouse events (and other's) won't process.
PLace your code in a form.
Tarik
* Reply: 33903
#: 33903 S11/Using ObjectPAL
08-Jun-93 15:56:21
Sb: #33889-#Form.wait() from script
Fm: Mark K. Lamb 76247,1424
To: Tarik Ghbeish =Sysop= 76711,643 (X)
Thanks,
It all makes sense now. BTW how and where can Iissue an exit() from an
application so that when I start Paradox back up it does not load the last
form I was in.
* Reply: 34206
#: 34206 S11/Using ObjectPAL
09-Jun-93 18:30:19
Sb: #33903-Form.wait() from script
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Mark K. Lamb 76247,1424
You'll need to do one of two things. Either start up Paradox with the command
line option -c so it always starts with a clear desktop, or make sure your
application closes all forms before it does an exit.
Tarik
#: 33808 S11/Using ObjectPAL
08-Jun-93 11:05:12
Sb: #Edit()
Fm: Mark Chapman 71061,2220
To: All
How do I use ObjectPAL from a method attached to Form A to get into edit mode
on Form B containing only fields which consist of text and edit regions?
If I use edit() it naturally tries to put the form with the code into edit
mode. I want to put into edit mode the form I just opened with a form
variable.
I believe edit() is for UIObjects. Since there is no tableframe how do I do
it?
Thanks, Mark
* Reply: 33890
#: 33890 S11/Using ObjectPAL
08-Jun-93 15:12:20
Sb: #33808-Edit()
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Mark Chapman 71061,2220 (X)
If the second form is not bound to a table you don't really need to be in edit
mode to edit it. Otherwise try this :
f.open( "formName" )
f.edit()
Tarik
#: 33825 S1/Miscellaneous
08-Jun-93 11:47:42
Sb: #paradox forms
Fm: RUSTIN BL 72204,3513
To: paradox ?
I have a table with quite a few fields. When trying to create a form I got the
message "won't fit in layout..." for several fields. I couldn't see a method
to get extra fields until I was in the design phase. After I got mor pages I
can't see how to get my missing fields to the form.
* Reply: 34194
#: 34194 S1/Miscellaneous
09-Jun-93 18:25:22
Sb: #33825-paradox forms
Fm: Steve Neverve (Sysop) 71333,114
To: RUSTIN BL 72204,3513
Rustin,
The reason this happened is because PFW could not fit all of the fields in
the layout for the default screen. To add the rest of the fields, goto
design mode. Next, choose Form | Design Layout and click the select fields
button. Here you can select all of your fields by clicking on the first
field and dragging downward. Once you have done that, you then can add
fields by using the field tool on the SpeedBar. Next, right-click on the field,
choose Define Field, choose ... (the 3 dots), and select the field name from
the table on the left by clicking on the down arrow.
Steve
#: 33840 S5/Reports
08-Jun-93 12:10:03
Sb: #suppress subsequent line
Fm: Robert D. Young 76450,3116
To: all
Is there a way to suppress "subsequent" items in a report? For example, I want
to print records with city and name fields in something that looks like:
city1: name1
name2
name3
city2: name1
name2 etc.
While I can "group" records and print the city in a group header band and the
detail records in the record band, I want to have them appear on the same
line, suppressing the second through nth occurence of the city name. Any
ideas?
* Reply: 33987
#: 33987 S5/Reports
08-Jun-93 21:22:26
Sb: #33840-#suppress subsequent line
Fm: Murray Dowling 100032,2552
To: Robert D. Young 76450,3116 (X)
Put city field into the record band, nothing in the city group header. Then in
report design mode, select Report|Group Repeats from the menu. This will
suppress the subsequent city fields as required.
HERE'S THE BUG ............. (there has to be one <g> )
Group Repeats does not get saved with the report, so _E_V_E_R_Y_ time you want
to print the report, you have to go to design mode, select Group Repeats, and
manually print the report.
Tough luck if you wanted to print from a button with OPAL.
* Reply: 34088
#: 34088 S5/Reports
09-Jun-93 12:20:22
Sb: #33987-#suppress subsequent line
Fm: Robert D. Young 76450,3116
To: Murray Dowling 100032,2552
CRAP! Screw that approach - Of course, I wanted it for an app that does "one
touch" printing....
How about this one: Is there a way to put the file name of the current report
in a field?
* Reply: 34181
#: 34181 S5/Reports
09-Jun-93 17:44:24
Sb: #34088-suppress subsequent line
Fm: Ken Merson -Sysop- 76117,3146
To: Robert D. Young 76450,3116
The default in a report header includes an example of this field.
Define a field to be TableName in the Define Field dialog - the field is
selectable in the field list drop-down.
km :^,
#: 33861 S1/Miscellaneous
08-Jun-93 13:27:23
Sb: #Win for Workgroups
Fm: Bodo Moellenbeck 100114,2131
To: all
Good morning,
PDoxWin 1.0 + Windows for Workgroups = possibly impossible ???
I've completly rewritten an existing P. 4.0 application under PDoxWin
under Win 3.1 - no problem. Installing PdoxWin under WfW also no problem,
but starting it or letting run any form - big problems.
Sometime the program itself crashes, somtimes it crashes after loading
a form, simple text-objects are not displayed, loading of the program
or any form takes at least five times longer.
So I called today your hotline in Germany and was told, that PdoxWin 1.0
has not been released for use under WfW yet ?!? Unfortunately the line
was interrupted afterwards, so I couldn't ask any further.
Now I ran through the manuals and saw on page 12 of the Introduction
manual, that PDoxWin can be used in ...-network or any other network,
which is 100 o/o compatible with Windows. I also saw here some discussions
regarding minor problems while running under WfW, so where
are the major problems?
I tried all possible ODAPI-configurations including Share-options, I didn't
use any specific multiuser-commands, I used one font (Arial) only, I shut down
the only other PC connected and and and.
So please tell me, if I have to wait for the next release or if I can solve
these problems otherwise? And if, when is such a release expected?
By the way, I'm in Germany, so I'm using the German versions, but I cannot
imagine, that the translations are responsible for this strange
behavior.
Best regards
Bodo Moellenbeck
Hamburg / Germany
#: 33862 S2/Install/CFG/HrdWare
08-Jun-93 13:30:01
Sb: #Desktop Font
Fm: Harald Pitro 100024,2662
To: Sysop (X)
Is there a way to change the desktop font (icon font) within Paradox?
Sometimes I get a windows error in "user.exe", but my pdoxwin.ini is ok. If I
start windows again, the error doesn't occur. I think that the title of the
icons are longer than I can see (if you use another resolution you can see
it).
Thanks for any help
Harald
* Reply: 34003
#: 34003 S2/Install/CFG/HrdWare
08-Jun-93 22:29:42
Sb: #33862-#Desktop Font
Fm: Richard Wagner (TeamB) 71333,2031
To: Harald Pitro 100024,2662 (X)
Harald,
Sorry, as far as I know, there is no way to adjust the icon font for the
Database Desktop. Do you get GPFs consistently?
Richard Wagner
* Reply: 34130
#: 34130 S2/Install/CFG/HrdWare
09-Jun-93 13:53:45
Sb: #34003-Desktop Font
Fm: Harald Pitro 100024,2662
To: Richard Wagner (TeamB) 71333,2031 (X)
Richard,
thanks for the deadly news <g>.
I get the GPF's consistently. I place a new icon at resolution 800x600 so that
the title doesn't overlapp (I don't find this word in my word book - excuse).
If I look at resolution 640x480 the title overlapp.
After some work the GPF comes at resolution 800x600, not at 640x480 (it was my
last idea to change the resolution to look if the USER error comes from the
titles). If I move the icon so that the title doesn't overlapp at 640x480, the
error is gone.
Thanks
Harald
#: 33863 S11/Using ObjectPAL
08-Jun-93 13:33:24
Sb: #dialog box font color?
Fm: David Ellis 72240,370
To: SysOp (X)
Having trouble getting desired font and field color in a dialox box. A text
string is assigned to the one field on an unbound form.
In the field's arrive method an action(DataEnterPersistFieldView) yields the
desired screen colors, provided the form's window style is window.
When the form's window style is changed to dialog box, PW provides some other
color for font and field background at runtime. Field.font.color = Color has
no effect in the field's arrive method.
What OPAL will produce design-screen font and field color in a dialog box
field at runtime?
-- Dave
* Reply: 34214
#: 34214 S11/Using ObjectPAL
09-Jun-93 18:30:44
Sb: #33863-dialog box font color?
Fm: Tarik Ghbeish =Sysop= 76711,643
To: David Ellis 72240,370
This shouldn't be any different for a dialog box than for a regular window. I
tested this (although 've done it in unumerable forms before) again and had no
problem. Maybe you have a damaged form. The colors for should definately not
change when you merely change the dialog window style property.
Tarik
#: 33871 S4/Forms
08-Jun-93 14:45:01
Sb: #Passing Arguments
Fm: Will Estes 74776,3676
To: SYSOP (X)
I need to pass a command-line switch to a paradox form.
Is there any way that I can get the startup form to
read the switch? For example:
pdoxwin -wc:\working -pt:\temp login.fdl -b
In the above I would want the -b to be read by
the login form's code rather than passed to PDOXWIN.EXE.
Any way to do this?
Thanks,
Will
* Reply: 33908
#: 33908 S4/Forms
08-Jun-93 16:06:11
Sb: #33871-Passing Arguments
Fm: Quinn Wildman (Sysop) 76703,3033
To: Will Estes 74776,3676 (X)
Sorry, there's no way for a form to read a command line switch.
How about specifying a private directory on the command line? Your form could
then read it and make a decision based on the private directory. Another idea
is to specify a different pdoxwin.ini file on the command line and read the
application title in your form.
#: 33876 S3/Tables/TableView
08-Jun-93 14:57:38
Sb: #not exact read/write
Fm: Gary Foster 72720,275
To: sysop (X)
When I am in a table and double click a certain memo field for a certain
record, I get the message 'not exact read/write'. I cannot access the text in
the field in any report, form or querie. What gives?
* Reply: 34085
#: 34085 S3/Tables/TableView
09-Jun-93 11:53:44
Sb: #33876-not exact read/write
Fm: David Orriss Jr(Sysop) 75300,1414
To: Gary Foster 72720,275 (X)
Gary,
Try rebuilding the table with TUTILITY. See if that helps.
David
#: 33897 S8/Multi-User/Interop
08-Jun-93 15:35:14
Sb: #Multiuser problems
Fm: steve quickel 70711,2231
To: sysop (X)
We are attempting to allow our users (1200 of them) to use PdoxWin from our
network. All copies are pointing to a single directory on our NetWare file
server for network control files.
Unfortunately, it seems that when one user exits Pdox improperly, it can bring
all users of PdoxWin to a screeching halt. Sometimes, when one person re-boots
or locks, it makes it impossible for anyone else to access Pdox. At other
times, it appears that both PDOXWIN.USR and PDOXUSRS.NET are corrupted, and
EVERYONE using PDOX locks up. The only solution appears to be kicking
everyone out of PDOX, and overwriting the corrupt files with fresh ones.
This is the only solution that we have heard from Borland to date, and it is
not very acceptable. Kicking everyone off Paradox when one person has made a
mistake or has had their PC lock up seems a bit extreme. Isn't there any way
to handle this more transparently?
Thanks for help you might be able to give us.
S. Quickel, ARCO Chemical
* Replies: 33998, 34254
#: 33998 S8/Multi-User/Interop
08-Jun-93 22:15:13
Sb: #33897-Multiuser problems
Fm: Cap Walker(TeamB) 70007,4651
To: steve quickel 70711,2231
Steve,
There's a couple things you might try as alternatives. First, GO PDOXDOS and
download the files Netdmp.ZIP and Lckdmp.ZIP. These will let you get
information about the state of the LCK and NET files. From that info you
should be able to pinpoint exactly what's causing the problem.
I haven't tried this, but have heard that it works ... create a Paradox Engine
program that will retry a lock at least 10 times. This will force an integrity
check on the NET file.
As an absolute last alternative, and if you don't have to use Paradox data
files for compatibility, then try using dBase format files. These do not use
NET or LCK files.
#: 34254 S8/Multi-User/Interop
09-Jun-93 20:44:44
Sb: #33897-Multiuser problems
Fm: Robert Ramirez (Sysop) 76702,255
To: steve quickel 70711,2231
Hello Steve,
Sorry Steve, but when a user exits Pdoxwin improperly you have to get everyone
off and remove the PDOXWIN.USR and PDOXUSRS.NET files. The key I think that
needs to be addressed here is: How are these users improperly exiting Pdoxwin
and what you can do to prevent this. I understand how users can be, being one
of them, but if a user just shuts of the machine off, or exits another way,
then your compromising the data as well as having to go through this process.
~Robert
Borland Tech. Support
#: 33898 S1/Miscellaneous
08-Jun-93 15:38:23
Sb: #33317-#Sending Borland Messages
Fm: Dave Yuhas 72431,2360
To: Marlene Penry 71202,341 (X)
Marlene,
>I'm wondering about the right way to send information to Borland, for
>example bugs and wish list items. I tried submitting two items to >"Borland"
but they still show as unread several days later. Do I send this >type of
thing through sysops? If so, can you access and process these >items or do I
need to resubmit them? (One's in Miscellaneous and one's in >Reports, both
from me.)
Not to make a too big a deal out of this, but this is one of the dirty little
secrets about software support on CIS. The flyers inserted by Borland into
the software packaging would have you believe you can get direct support from
Borland Technical Support on CIS. The truth is you might - or you might not.
Borland, like Symantec and probably others as well, does not answer every
technical question posted in the Forum. They rely either on other users or
knowledgeable users who are assigned this responsibility and given free access
time. Only when the user is not getting the question answered does Borland
Technical Support provide help.
There's no way that I know of to send messages directly to Borland Technical
Support. I know you can't do this in the Symantec Forum.
In reality this system functions pretty well. What I don't like about it is
the fact that it's not explained in the promotional materials or in the Forum
- at least I haven't seen it. Another thing that bothers me is the lack of
accountability. If Borland says they support their software on CIS but in
reality relies on users, how much confidence can you have that the answer you
get is correct? A wrong answer can slow down a project or, worse, doom it to
failure.
Borland could, if they wanted to, make their CIS support policy well known.
Why they and other software vendors don't is beyond me.
Dave Yuhas
* Replies: 33915, 34173
#: 33915 S1/Miscellaneous
08-Jun-93 17:06:13
Sb: #33898-Sending Borland Messages
Fm: Don Schubert (TeamB) 70007,4654
To: Dave Yuhas 72431,2360
A few corrections. Borland sysops are bound to reply to msgs addressed to them
within 24 hrs during business working hours. Most of the time, they succeed,
but not 100% of the time. If a response is not answered within several days
(and not posted Fri-Mon), users should repost or reference the msg.
On this particular forum, Borland sysop responses far outnumber TeamB
responses and other knowledgeble user responses.
Finally, the msg volume on this forum has been intense since the forum opened.
Don
#: 34173 S1/Miscellaneous
09-Jun-93 17:11:37
Sb: #33898-Sending Borland Messages
Fm: Quinn Wildman (Sysop) 76703,3033
To: Dave Yuhas 72431,2360
>..Another thing that bothers me is the lack of accountability. If Borland
>..says they support their software on CIS but in reality relies on users, how
>..much confidence can you have that the answer you get is correct?
We READ all the messages. If we see a response that is incorrect, what should
happen is that we'll pop in with whatever correction in necessary. Using this
approach, all answers should be correct.
#: 33900 S11/Using ObjectPAL
08-Jun-93 15:42:31
Sb: #openasdialog
Fm: George Ritter 76660,657
To: sysop (X)
I have an application where I want to keep a serial key where the starting
value is defined by the user. I have two forms, the main data entry form and
the second form which simply prompts for the starting value if no records have
ever been entered.
***** I attached the following code to the dataentry form at the page level:
method action(var eventInfo ActionEvent) var
tblHT Table
tblname String
slipHF Form
retval String endVar
if eventInfo.id() = DataInsertRecord then
tblname = "SLIPMAST.DB"
tblHT.attach(tblname)
if tblHT.isEmpty() then
slipHF.openAsDialog("GETSLIP")
retval = String(slipHF.wait())
if retval = "OK" then
Slip_No.value = slipHF.start_slip.value
endIf
slipHF.close()
endIf endIf
endmethod
***** This is the code for the two pushbuttons on the popup form:
method pushButton(var eventInfo Event) formReturn("OK") endmethod
method pushButton(var eventInfo Event) formReturn("CANCEL") endmethod ****
This code is pretty much taken out of the developer's guide. The problem is
that I get into an semi-infinte loop every time I press OK. Each time I press
OK another instance of the popup form gets created. I can physically touch
all of them. When I press Cancel after many times pressing OK, ALL of the
popup (GETSLIP.FSL) forms get closed and a value is transferred to my
dataentry screen.
Even more intriguing, If I go into edit mode on the dataentry form, press
insert, the GETSLIP correctly pops up, if I press CANCEL and then insert again
(without ever leaving edit mode), the form works correctly when pressing OK.
And lastly, the popup (GETSLIP) is defined as a dialog form, if I say dialog
AND modal, I get a "PDOXWIN an error has occured in you application ...", "you
have attempted to access a design object that is not open"
I get the sneaky suspicion that the problem is that this code is on the page
level action method.
Do you have any ideas? George Ritter, UNICEF
* Reply: 34215
#: 34215 S11/Using ObjectPAL
09-Jun-93 18:30:47
Sb: #33900-openasdialog
Fm: Tarik Ghbeish =Sysop= 76711,643
To: George Ritter 76660,657
>>method action(var eventInfo ActionEvent) var
tblHT Table
tblname String
slipHF Form
retval String endVar
if eventInfo.id() = DataInsertRecord then
tblname = "SLIPMAST.DB"
tblHT.attach(tblname)
if tblHT.isEmpty() then
slipHF.openAsDialog("GETSLIP")
retval = String(slipHF.wait())
if retval = "OK" then
Slip_No.value = slipHF.start_slip.value
endIf
slipHF.close()
endIf endIf
endmethod
______________________
Three things. Remove the String from your wait statement. It's redundant.
(shouldn' cause a problem though. Eliminate the openAsDialog and use a
straight open. openAsDialog is redundant since you can change the Window
Style through the open command or interactively (Properties | Form |
WindowStyle ).
The main problem : add a doDefault immediately after the test for
DataInsertRecord. You want the record to be inserted before you try and add
the new record to the table, otherwise it won't work. This is why it works
the second time you try the insert.
Tarik
#: 33901 S2/Install/CFG/HrdWare
08-Jun-93 15:48:52
Sb: PW takes memory
Fm: Woody Splawn 73627,3541
To: ALL
I am in a situation where if I load Pw first while in Windows, I can't switch
to another program. If I try I get a message of not enough memory. I have 8
megs.
I can, however, load other programs first, like Word and then Switch to
PW and other programs and things go ok. Does anyone know why or what I can
do so that it is not necessary to load PW first to switch between programs?
Woody
#: 33910 S11/Using ObjectPAL
08-Jun-93 16:39:15
Sb: #break FOR loop
Fm: DEAN FERRA 72360,2500
To: sysop (X)
I'm in a FOR LOOP doing a search and would like to have a button for the user
to click to cancel the search in progress or break the loop. I did this in
PDOX 4.0 using CHARWAITING(). How do I duplicate that functionality in
PDOXWIN? Thanks in advance for the help.
*DEAN*
* Reply: 34207
#: 34207 S11/Using ObjectPAL
09-Jun-93 18:30:23
Sb: #33910-break FOR loop
Fm: Tarik Ghbeish =Sysop= 76711,643
To: DEAN FERRA 72360,2500
You don't use a for loop in Paradox for Windows, you use a timer event. Place
an incmrenter on a timer method for your button (or object) and perform your
code there. Set the timer using setTimer and kill it using killTimer.
Tarik
#: 33913 S5/Reports
08-Jun-93 16:56:42
Sb: #output to a file
Fm: Tom Haley 72212,3477
To: Sysop (X)
Is there a way to direct the output of a report to an ascii file?
Sometimes the output needs massaged for reports......
thanks.
tom
* Reply: 34159
#: 34159 S5/Reports
09-Jun-93 15:58:12
Sb: #33913-output to a file
Fm: Scott Arnett (Sysop) 76711,650
To: Tom Haley 72212,3477
Tom-
To output to an ASCII file you need to set up the Generic Print driver in
Windows Control Panel and set it to output to a file. Then use that driver
to print your report.
-Scott
#: 33914 S1/Miscellaneous
08-Jun-93 17:05:31
Sb: #Printing Crosstabs
Fm: Jackie Gardner 71730,1463
To: Anyone
Can Anyone tell me how to print a complete crosstab that does not fit inside
the window on screen?
* Replies: 34174, 34195
#: 34174 S1/Miscellaneous
09-Jun-93 17:11:42
Sb: #33914-Printing Crosstabs
Fm: Quinn Wildman (Sysop) 76703,3033
To: Jackie Gardner 71730,1463
>Can Anyone tell me how to print a complete crosstab that does not fit inside
>the window on screen?
First, you'll want to save the crosstab to a table. To do this, in design
mode of your form right click on the crosstab object and find out its
objectname. The name will be something like #crosstab3. Next, create a
button. In the pushbutton method of the button enter:
#crosstab3.action(DataSaveCrossTab)
This will create crosstab.db in your private directory. You can now create a
report based on this table and get the printout you desire.
#: 34195 S1/Miscellaneous
09-Jun-93 18:25:25
Sb: #33914-Printing Crosstabs
Fm: Steve Neverve (Sysop) 71333,114
To: Jackie Gardner 71730,1463
Jackie,
You can choose File | Printer Setup | Modify Printer Setup and change the
orientation from portriat to landscape. Otherwise you will need to make
sure that all of the objects are within the 8-1/2 * 11 margins. You can use
the horizontal and vertical ruler to do this. If your printer supports 8-1/2
* 14 (legal) paper, then you can use the above steps to change your paper to
legal size. Finally, you can choose the tableframe, CTRL + right-click on
the tableframe, choose fonts | size, and select a smaller font size. This
will shrink the font for the whole table. CTRL +right-click allows you to
set parameters for all objects.
Steve
#: 33916 S9/Learning ObjectPAL
08-Jun-93 17:08:16
Sb: #Constants Vs. Variables
Fm: Tim Ryan 70244,2276
To: SysOp (X)
Hey guys! I don't know if you remember my problem, but I solved it. You had
told me that I could not use a variable as a parameter for various methods,
yet they do if they are given a value in the same procedure or method. A
global variable alone would not solve the problem. For example, the LOCATE
method requires a constant for a field name and a constant for the value. If
you had a global variable, you would not be able to use their values unless
you assigned values to them before the LOCATE in the same method. The reason
why I noticed this, is that an example in the manual used a variable even
though it said it required constants.
* Reply: 34104
#: 34104 S9/Learning ObjectPAL
09-Jun-93 12:54:55
Sb: #33916-Constants Vs. Variables
Fm: Robert Hall (Borland) 70674,513
To: Tim Ryan 70244,2276
When a method prototype specifies a constant for an argument -- for example,
search( const str String ) SmallInt --
that means the argument is passed to the method as a constant and will not be
modified by the method. It doesn't mean that the argument must be a constant.
So, any of the following are OK:
var
vs String endVar
const
ks = String("This") endConst
vs = "This"
; The following are all legal. All will return the same value.
someString.search(vs) someString.search(ks) someString.search("This")
Hope this helps,
=Robert
#: 33917 S10/ObjectPAL Environ.
08-Jun-93 17:09:12
Sb: #Const Window
Fm: Peter Friedland 71736,1406
To: sysop (X)
Hello,
I have a multi-page form which I have constants (in the CONST window) defined
for PageOne. I would like to define constants for PageTwo but ObjectPal trys
to make CONSTs for PageTwo into a custom method. If I add an additional page
to the form and try to add constants, it does the same thing. Any ideas?
* Reply: 34046
#: 34046 S10/ObjectPAL Environ.
09-Jun-93 02:52:59
Sb: #33917-#Const Window
Fm: Grant Carpenter 71412,3046
To: Peter Friedland 71736,1406 (X)
Try deleting the existing Const "custom method" for Page 2, save the form,
reopen, and see what happens. I get something that sounds similar from time
to time (not on a multipage that I can recall) with Var and Const where
pdoxWin tries to make method Var(), etc. Highly annoying before I found a
fix...
Grant Carpenter
71412,3046
#: 33921 S5/Reports
08-Jun-93 17:22:46
Sb: #Vary Fields in Reports
Fm: Victor Sirelson 70550,3033
To: 76117,3146 (X)
I am trying to write a report which will receive the table and field names
which will be used in the report by accessing a list or auxiliary table. I am
interested in any approach which will work, using Paradox or any other product
which writes reports for Paradox tables. I am trying to do this with Crystal
Reports by using a formula which returns the field names by reading my
auxiliary table (each record in the auxiliary table contains the information I
need: table name for the report, sort fields from the table, data fields from
the table, etc.), then receiving the returned field name and placing it into
an appropriate string. But there seems to be no facility for translating a
string such as {DataTable.Name} into the field DataTable.Name. Apparently I
can do what I want by using the Print Engine of Crystal Reports but it would
be much better if I can use some device such as I have described above.
I have a similar problem in trying to produce graphic reports such as pie
charts, since I only know of the PdoxWin capability. Crystal Reports does not
produce graphic reports. Is there another product which will produce graphic
reports? Is there any product which will enable a report to use programming
for solving my problem?
* Reply: 34182
#: 34182 S5/Reports
09-Jun-93 17:44:32
Sb: #33921-Vary Fields in Reports
Fm: Ken Merson -Sysop- 76117,3146
To: Victor Sirelson 70550,3033 (X)
The first part of your question looks like it requires objectPAL to set up -
manipulating/printing reports based on the contents of a reference table. Try
describing in a bit more detail what you are looking to do in a message in
section 9 or eleven.
Perhaps other will chip in, but none of the major paradox report writers I
have heard of would do more for you with graphs. Perhaps there are some report
writers for dbase file formats which will do what you need.
If I have missed your question entirely, let me know and I'll try to be more
helpful.
km ;^,
#: 33929 S1/Miscellaneous
08-Jun-93 17:52:42
Sb: #Paradox Win problems
Fm: Robert Friesen 70243,2437
To: sysop (X)
Hello, I am trying to learn and use pdox/win and am having several problems.
When I try to restructure a couple of my tables, it won't let me. I have
closed the forms that include them, but it still won't let me restructure. If
I restructure right when I load the program before opening a form, it will
work.
Now that I finally got the table to restructure, what field type can I use to
have a time field. I have tried Alpha, Date, and Formated Memo, exept it
would not let me change to the Formated Memo. I know how to get a time field
formated if I undefine a field, but I would like time in a defined field.
Thanks
Todd
* Reply: 34247
#: 34247 S1/Miscellaneous
09-Jun-93 20:43:46
Sb: #33929-Paradox Win problems
Fm: Robert Ramirez (Sysop) 76702,255
To: Robert Friesen 70243,2437
Hello Robert,
>..When I try to restructure a couple of my tables, it won't let me...
Make sure that you have Share.exe loaded with the following parameters:
Share.exe /f:4096 /l:400
>..what field type can I use to have a time field?
You need to use an Alphanumeric field of around 12 characters to handle the
time. The code that you would use would be something like:
<Timefield>.value = time()
You might place this in the arrive method of the timefield, or if your using a
Tableframe or MRO, in the arrive method of the record object.
Hope this helps...
~Robert
Borland Tech. Support
#: 33932 S9/Learning ObjectPAL
08-Jun-93 17:56:24
Sb: #Books on OPAL
Fm: Ruben L. Jimenez 71233,232
To: Randy Minder 73750,3601 (X)
OK, you win. Like I said, I'm not using it: I'm just basing that comment on
observation of an experienced programmer friend who never seemed to have a
hard time learning anyhting else. Personally, I find Visual C++ to be
extremely easy to use (yes, that means I think MFC 2.0 is better than OWL- I'm
sure the Borland groupies will beat me up for that, too). I have found it
extermely easy from the first time I saw it. It looks like my cohort is having
a harder time adjusting to OPAL than I had adjusting to C++. That's all. I can
admit when I'm wrong. I guess it must be him.
Am I the only one who sees similarities between OPAL and C++? To hear you
tell it, it's simpler than Visual Basic.
Incidentally, on some of the other forums they're not so defensive about
someone voicing an opinion, even if it's wrong.
* Reply: 33988
#: 33988 S9/Learning ObjectPAL
08-Jun-93 21:42:18
Sb: #33932-#Books on OPAL
Fm: Randy Minder 73750,3601
To: Ruben L. Jimenez 71233,232 (X)
Ruben,
I certainly don't have any problems with someone stating an opinion. We all
have them. What rubs me the wrong way sometimes is when the opinion is
obviously NOT based on fact or experience.
IMO, someone coming from a C/C++ background will not have a great deal of
trouble with the OPAL language itself. I come from a C background and I find
the language very powerful and rather simple to pickup. The hard part is
mastering PdoxWin's event model and all that it entails.
I think if you give PdoxWin a fair chance you will be astounded at how quickly
you can create very powerful Windows database apps. I have been a C
programmer for 6 years and I used to be a rather hard core C bigot. Not
anymore. PdoxWin has shown me that C++ is not the language I want to use to
create Windows database applications.
Randy
* Reply: 34057
#: 34057 S9/Learning ObjectPAL
09-Jun-93 08:43:10
Sb: #33988-#Books on OPAL
Fm: Ruben L. Jimenez 71233,232
To: Randy Minder 73750,3601 (X)
I agree that someone coming from a C or C++ background will have a fairly
easy time picking up OPAL, by the looks of it. Unfortunately, my friend is a
PAL guru; he knows very little C, if any. So in OPAL he has to learn a whole
array of concepts at once: not so much the event model, which is present in
Paradox 4, but the object model, the concept of messages, bubbling, when to
override completely and when to call the base class (oops, the default)
method, the whole form-based model (an idea which I personally find to be a
little wierd, but that is just my opinion), etc.
With Windows you can do your programming in straight C if you just want to
learn the API. You can do C++ after you get that down, if you like (which is
what I did). Or you can learn C++ and do DOS apps, putting off the API until
you have learned C++ fairly well. But in Pdoxwin, you have to take on
everything in one swallow. Which is both a C++-like language, and what amounts
to a Paradox API. My friend has to look up everything he does in that manual
with so few code samples (a complaint I have with Visual C++'s Class Library
Reference as well; tech writers: there should be a small example of every
single method listed in the book- its already thick, another fifty pages isn't
going to hurt anything).
That's probably the real problem: the manuals. Tech writers are great as far
as they go. But imagine if Petzold had never written Programming Windows; if
everyone had to rely only on the dreaded manuals. Ugh. I shudder to think
about it.
Related question just for you: why do you suppose Windows manual tutorial
tech writers are so fond of paint programs? Programs that draw lines and
circles are not exactly on my clients top ten lists of things they want to be
able to do. Thats the one thing I really hated about the OWL tutorial. Now
Microsoft does the exact same thing with Visual C++. Hey! Has anyone ever
heard of documents with words in them?
* Reply: 34092
#: 34092 S9/Learning ObjectPAL
09-Jun-93 12:38:30
Sb: #34057-Books on OPAL
Fm: Randy Minder 73750,3601
To: Ruben L. Jimenez 71233,232 (X)
Ruben,
"But in PdoxWin, you have to take on everything in one swallow." Let's think
about this a little bit. What do you have in PdoxWin? You have a full
featured event driven, object based and Windows oriented RDBMS language. Also
included is a powerful query engine, report writer, data modeler and debugger.
Everything is designed to *work together*. What's one of the best things
about all this? I don't need to know how Windows works internally to write a
sophisticated Windows DB app.
Now, if I want to write Windows apps at the C level, what do I need? I need a
C++ compiler (a C compiler will not suffice). I need a UI package, like OWL
or MFC. BTW, I don't think either one of those two packages provide the
functionality available in PdoxWin. I need a RDBM engine. I need a report
writer. I, as of today, cannot purchase a query engine or data modeler. So, I
have all these tools (and I still don't have all the power available in
PdoxWin). Were they designed to work together? Absolutely not! Do I still
need to understand Windows internals? Absolutely. I need to understand
intimately the Windows messaging system, memory allocation, the GDI for
graphics etc. And, I absolutely need to understand C++ very well. I cannot
work with OWL/MFC or any database engine with extensive understanding of C++
because all these packages are written in C++.
Finally and, IMO, most importantly, I can accomplish things in PdoxWin using
NO OPAL code which would require many hundreds or thousands of lines of C++
code. And, what's even better, if PdoxWin is bug free, my application is bug
free because I haven't written *any* code.
Randy
#: 33933 S9/Learning ObjectPAL
08-Jun-93 18:10:36
Sb: #Locate Value -- oy vey!
Fm: Dick Rubin 71531,2254
To: all
I'm working interactively with an existing 8 MB table. If I inadvertently
choose Locate Value while the focus is on a field that's not indexed, or not
the current sort order, I get the hourglass cursor for > 5 minutes!
1. Is there any way to interrupt this process once I realize what's
happening?
2. What's a good OPAL approach to trapping for this situation and either
disallowing the the Locate if the specified field is not the current sort
order or -- much better -- testing to see if the current field HAS an index
and making that the sort order before proceeding with the Locate? And where
on my form would the code be attached?
Thanks.
* Reply: 34023
#: 34023 S9/Learning ObjectPAL
08-Jun-93 23:42:15
Sb: #33933-Locate Value -- oy vey!
Fm: Randy Sell (Sysop) 75300,2147
To: Dick Rubin 71531,2254 (X)
Dick-
>>1. Is there any way to interrupt this process once I realize what's
happening?
Not to my knowledge.
>>2. What's a good OPAL approach to trapping for this situation and either
disallowing the the Locate if the specified field is not the current sort
order or -- much better -- testing to see if the current field HAS an index
and making that the sort order before proceeding with the Locate? And where
on my form would the code be attached?
Yes, this can be done but it takes a good understanding of the locate command
and secondary indexes...
A locate will use a secondary index if it is the "active" index. IOW it must
be the index presently in use. So, if the table is not based on that index,
you must use a tCursor::switchIndex to use that index.
We can tell if the user is attempting to Locate by trapping for the constants
DataSearch, DataSearchNext or DataSearchReplace in the action method. You can
tell which fields are part of a secondary index by using the
tCursor::enumIndexStruct method.
Recall: if the table has a compound secondary index (index is based upon more
than one field) all fields must be specified in the locate to use the
secondary index in the locate. Also, locatePattern does not use primary or
secondary indexes under any circumstances.
Lastly, we can tell which field has focus by checking active.name
Soooo, to make a long story short it can be done, but it could get a little
ugly. You know the current field, you can get a list of indexes (and their
names) and you can intercept the interactive Locate with your own Locate
dialog. I would recommend doing all this on a tCursor and then resync your
field/record/tableframe to the tcursor.
Let us know how it all turn out.
Randy Sell
PDW Technical Support
#: 33934 S11/Using ObjectPAL
08-Jun-93 18:14:08
Sb: #33019-#Clearing a list box
Fm: James Barrett 71330,3625
To: Dan Ehrmann (TeamB) 70007,4644
I tried to set count = 0 in the open method for the list object, but in
runtime, I get a message saying "Referenced object not visible". I wish
Borland had better documentation on list types and what attributes actually
exist...
Thanks, -James
* Reply: 34202
#: 34202 S11/Using ObjectPAL
09-Jun-93 18:30:07
Sb: #33934-Clearing a list box
Fm: Tarik Ghbeish =Sysop= 76711,643
To: James Barrett 71330,3625
You'll need to issue a doDefault on the open method before you try to do
anything to the object. It's not finished opening, so it cannot be referenced
at that point.
Tarik
#: 33939 S1/Miscellaneous
08-Jun-93 18:26:43
Sb: #Aliases
Fm: david simpson 100022,3465
To: sysop (X)
I have stock files for four companies. Each company's files are located in a
separate sub directory. I can use aliasing to run the same query/ form/report
on each company but only if I close pdox after using one company before I
change the alias. If I use a report then close all the files used
then when I try to change the alias it states it is still in use when I select
the alias in the dialog box. any solution?
* Reply: 34113
#: 34113 S1/Miscellaneous
09-Jun-93 13:08:57
Sb: #33939-#Aliases
Fm: Brian Reed (Sysop) 71333,2360
To: david simpson 100022,3465 (X)
David,
Are you doing this interactively or using OPAL? If you're using OPAL then
post your message in Section #11 Using Object PAL. If you are doing this
interactively, then walk me through the steps that bring you to the message
that the alias or report is still in use. ex. File | Open | Report | Change
table.
With the steps I can try and reproduce this here and provide you with a
workaround.
Brian Reed (sysop)
* Reply: 34151
#: 34151 S1/Miscellaneous
09-Jun-93 15:35:06
Sb: #34113-Aliases
Fm: david simpson 100022,3465
To: Brian Reed (Sysop) 71333,2360
Ok, files are stk93.db and stk92.db and there are copies of each of these
files in directories \pdoxwin\group\company1, ..\company2 etc the queries and
reports are in \pdoxwin\group. The report is based on a presaved query. The
query refers to the files stock\stk93.db and \stock\stk92.db. Stock is the
alias, initially defined and saved as \pdoxwin\group\company1.
I load pdoxwin then run the report which gives the appropriate output for
company 1. I then close the report and select file|alias to bring up the alias
dialog box. When the stock alias is selected it says (approx) database in use
cannot change path.
#: 33941 S1/Miscellaneous
08-Jun-93 18:30:42
Sb: #Printing
Fm: david simpson 100022,3465
To: sysop (X)
When I try to print a form set up as landscape I get an error message
regarding paper orientation if the printer has not been changed to landscape.
First - I naively thought that windows was supposed to get rid of these
problems - if I tell the form to print in landscape then the printer should be
adjusted automatically. Second why no printer set up option from the warning
so that it isn't necessary to go back to the main menu. The seams are
showing, nay splitting.
#: 33942 S4/Forms
08-Jun-93 18:38:11
Sb: #Form|Deliver
Fm: James Barrett 71330,3625
To: all
Hello again,
I have a form which I'm trying to deliver. When I click on Form|Deliver, I
get nothing, except that it runs the form. No error messages, but no
FDL file either. Any ideas why I would be unable to deliver? The form runs
fine, no errors.
Thanks, -James
* Reply: 34047
#: 34047 S4/Forms
09-Jun-93 05:33:58
Sb: #33942-#Form|Deliver
Fm: Stefan Germer 100066,365
To: James Barrett 71330,3625 (X)
Hi James,
Your available RAM is probably to low. I heard that several times from people
who have 4 MB RAM and some TSR's or Cache's loaded. If you're running SMARTDRV
set the parameter 256 to limit the cache size to 256 KB.
Hope this helps
Stefan
#: 34080 S4/Forms
09-Jun-93 11:48:52
Sb: #34052-#Form|Deliver
Fm: Stefan Germer 100066,365
To: James Barrett 71330,3625 (X)
Today we ran into the same problem on a machine with 32 MB, so I suppose there
must be another reason for that too.
Stefan
* Reply: 34090
#: 34090 S4/Forms
09-Jun-93 12:31:12
Sb: #34080-Form|Deliver
Fm: Rick Carroll 72133,1335
To: Stefan Germer 100066,365
I had the same problem and I spoke to Ryder at Borland Tech support. It
appears that Paradox for WIn. has a problem if the ObjectPal code on your form
references UIObjects by their default name. If you rename the default name
(ie. #button4 to ADDBUTTON) and then change your ObjectPal accordingly, the
form will deliver. I made this change to all my forms and they all deliver
properly now.
#: 33945 S3/Tables/TableView
08-Jun-93 18:53:54
Sb: #Automatic Date Entry
Fm: Robert B. Lamishaw 76416,773
To: all
Hi,
I'm new to Parodxo for Windows and am trying to create my first application.
So far it seems to be OK although I would like to have the computer
automatically entry a date (only no time) stamp in a field I have defined in
the table. I want to know when the record was entered into the system for
historical purposes only. This filed will not be editable, it will only be
for view and search functions. What I cann't figure out is how to make the
system fill in the field automatically. I've used many other database systems
and most have a function that you define in the data dictionary that will
perform this function for you, similiar to the default option in Paradox.
If anyone can direct me how to do this I'd be most grateful. I am hoping that
I don't have to get into ObjectPal at this point. Thanks for the help.
* Reply: 34083
#: 34083 S3/Tables/TableView
09-Jun-93 11:53:34
Sb: #33945-#Automatic Date Entry
Fm: David Orriss Jr(Sysop) 75300,1414
To: Robert B. Lamishaw 76416,773 (X)
Robert,
> So far it seems to be OK although I would like to have the computer
> automatically entry a date (only no time) stamp in a field I have defined
> in the table.
In table creation mode or table restructure mode, move to the date field in
your table structure format, Press Alt-4 (this moves you to the "Default"
prompt in the table restructure dialog), and type TODAY. I hope this helps.
David
#: 33946 S2/Install/CFG/HrdWare
08-Jun-93 18:54:05
Sb: #Access on Novell Network
Fm: Robert B. Lamishaw 76416,773
To: all
Hi,
I'm new to Parodox for Windows, although, I've used other databases for a long
time. The problem I'm having is that I want to run Pardox from my computer
but store the data on the network. When I try to save the data dictionary
(table) to my network drive (F:) it give me an error message saying that I am
not configured tor netwrok access. Why does Parodox care where I store my
data? I'm not asking for oncurrent multi-user access only to store the
information on a network drive (this is for automatic backup and security
reasons). If someone could help me, or at least explain what Parodxo is
doing, I'd be most grateful.
I understand about program licenses and network authorizations, etc. All I
want to do is store my data on a network drive with all Parodox programs on my
local drive.
Thanks for your help.
* Reply: 34044
#: 34044 S2/Install/CFG/HrdWare
09-Jun-93 02:06:42
Sb: #33946-Access on Novell Network
Fm: Brian Bushay (TeamB) 76711,516
To: Robert B. Lamishaw 76416,773 (X)
Robert
>I understand about program licenses and network authorizations, etc. All I
>want to do is store my data on a network drive with all Parodox programs on my
>local drive.
You need to be configured for Network access if you want to access data on a
network drive. You need to run the ODAPI config utility and set the
location of the .net file. This has to be on a network drive and all
network user should use the same loacation. Chapter 15 of the Getting
started manual covers other Network configuration issues.
Brian
#: 33948 S4/Forms
08-Jun-93 19:01:12
Sb: #33610-Where's record.CanDepart
Fm: Rick Fillman (Sysop) 76702,273
To: Gary Weinfurther 71521,2352 (X)
> I have a single table form. On this form is an "Edit" button.
> What I want to do is keep the user from going to any other record
> if they are in edit mode. But the CanDepart() method applies to
> fields, table frames, and the form, but NOT the record. What's
> the easiest eay in this case to determine of the user is moving
> to a new record on the form?
You can have the RecordObect you are seeking, and keep the
present form appearance by create a BIG 1x1 MRO (multi-record
object). Have it surround all your fields. Now, the fields are
sitting ON the MRO, and no on the Page. Thus, you have a place
to hang code the respond to record-level actions.
Rick Fillman, Tech Support (Borland)
#: 33949 S4/Forms
08-Jun-93 19:01:18
Sb: #33649-Switching tables in form
Fm: Rick Fillman (Sysop) 76702,273
To: John C. Yates 70262,1641 (X)
> What is the best way to switch the tables used by a form, while
> the form is open? I have tried three ways: 1) closing then
> re-opening the form using a FormOpenInfo structure to specify the
> new table, 2) using dmRemoveTable and dmAddTable and the
> TableName property, and 3) emptying the file while it's open then
> refilling it with new info. The first approach seems slow and
> visually unappealing. With the second approach, the table frame
> loses its formatting (custom column headers and column widths)
> and there does not seem to be any way to control the links or
> which fields appear in the resulting TableFrame. The third way
> involves the extra overhead of copying all the records, but to
> me, it seems like the best approach of the three. I need to
> switch tables because I am re-running queries based on user
> What is the best way to switch tables?
It depends! <grin> Doesn't it?
If the tables are (always) small ... then 3). Otherwise, due to the
problems you have noticed with 2) I'd favor 1).
If I had to try and circumvent the problems associated with
technique 2), I might try
Table.TableName=""
; now it's undefined
And then re-bind column by column with
field.FieldName=<Table.Field>
Rick Fillman, Tech Support (Borland)
#: 33961 S4/Forms
08-Jun-93 19:19:15
Sb: Trapping DB Validation
Fm: Jeffrey L. Odell 71461,1064
To: Sysop (X)
I suspect this question has appeared in various forms on the forum, but I was
unable to find any. Can you describe the best general strategy for trapping
violations of dtabase integrities? I spent some time developing error
handling. However, these integrity violations don't seem to be trapped as
errors. Specifically:
Duplicate Primary Keys
Missing Mandatory Fields
Erroneous Foreign Key Values
It surprises me that the default funtionality when trying to depart a record
is to silently refuse to leave, without a message. I suspect this implies a
canDepart method on the record as the place to handle this stuff.
This seems like a good subject for a Technical Bulliten. By the way, the
others are very helpful.
Jeff Odell
Network InfoServe
#: 33967 S1/Miscellaneous
08-Jun-93 19:40:40
Sb: #Table pointers
Fm: Mitch Alexander 76020,3621
To: Sysop 76711,643 (X)
Anybody have an idea?
Here's a tough one.....
I'm working on an application that involves a customer database "CUST.DB". I
have a numeric field named "LINK" in this database. The idea is that LINK
allows the user to point to another record in the SAME database. This allows
for tying multiple records together - i.e. defining a family - the kids'
records point to the father or mother's record, etc.
(record1.LINK=recordxxx.ID_NUM)
Here's the problem - I need LINK to be a table lookup field. PDOXWIN won't
allow a table to lookup itself. I tried creating an alias and using this on
the right side of the lookup definition, but PDOXWIN figured out what I was
trying to do and stopped me!
Is there any way to do this?
* Reply: 34176
#: 34176 S1/Miscellaneous
09-Jun-93 17:11:48
Sb: #33967-Table pointers
Fm: Quinn Wildman (Sysop) 76703,3033
To: Mitch Alexander 76020,3621
The way I'd do this is via a recursive file relationship. In other words, by
linking the file to itself. To do so, first create an alias that points to
your working directory. Next, in your form, add a second copy of the table to
the data model via the alias. You can now relation the file to itself, and I
think you'll have what you want.
#: 33970 S5/Reports
08-Jun-93 20:14:02
Sb: #Grouping data
Fm: David Dinsmore 72630,1542
To: Anyone
Trying to setup a report that will perform a calculation on a field based on a
previous value in the record. Problem is when I try to perform an
IIF([SUB_JOBS.code]="PSE",[CUR_RATE.PSE Rate],1) it wants to perform a SUM on
the SUB_JOBS.code. It works fine on my form but not on the report. My
relationships are the same....
* Reply: 34157
#: 34157 S5/Reports
09-Jun-93 15:58:02
Sb: #33970-#Grouping data
Fm: Scott Arnett (Sysop) 76711,650
To: David Dinsmore 72630,1542 (X)
David-
Is the SUB_JOBS a detail with a One to Many relationship with the master? If
so, is the calculated field in the multirecord object or table frame?
-Scott
* Reply: 34230
#: 34230 S5/Reports
09-Jun-93 19:15:29
Sb: #34157-Grouping data
Fm: David Dinsmore 72630,1542
To: Scott Arnett (Sysop) 76711,650
Here is what I am trying to accomplish:
I have a table of SUBJOBS that holds a code(PSE,FSE, or ODC), each month data
gets entered into a table NEWMONTH, all previous monthly data is held in a
RUNNING database. When the person requests this report I use a SCAN to move
all data from NEWMONTH and RUNNING to an ALLMONTH table. Among the data I
need to put on the table is all the records with the code PSE.
I'm looking to use a QBE, but not exactly sure how....
#: 33975 S11/Using ObjectPAL
08-Jun-93 20:44:48
Sb: #Status of CPAL.ZIP code?
Fm: Murray Dowling 100032,2552
To: All
The DLL functions in CPAL.ZIP are IMHO a necessary extension to PDox. Sending
messages and passing arguments to DLLs are essential for any development tool
claiming to support Windows functionality (as Borland do for PDoxWin).
Then why, oh why, oh why aren't these functions documented? Who loses if
Borland provide better access for developers? Only Microsoft, CA etc. as
developers will be able to produce the program functionality they require
without jumping across to competing products.
But the real worry with "unsupported" software is "Version Shock". What
happens with V1.1 or V2.0? Will the CPAL code still work? Yeah, I know you
don't support it and can't guarantee it, but inquiring minds (and _CUSTOMERS_
of yours, remember!) want to know. Unless Borland is completely stupid there
should be increasing access from C++ to OPAL and Tables. Remember that you
will sell us C++ compilers too then <g>. I think the PxEngine DLL should not
be required as PDoxWin _MUST_ have all that functionality (and more) in it's
own DLLs. (After all, how many floppy disks are we already going to have to
provide for our application's installation?)
Q. Will you pull the plug on me if I rely on CPAL interface?
The Neatest correct definitive answer wins a pat on the back.
* Reply: 34229
#: 34229 S11/Using ObjectPAL
09-Jun-93 19:14:32
Sb: #33975-Status of CPAL.ZIP code?
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Murray Dowling 100032,2552
>>Then why, oh why, oh why aren't these functions documented?
Unsupported means that we may need to change the function, better test the
function, or that it was designed for our own testing, not for public
consumption. It may be that the implementation of a function is not complete.
Until a decision is reached about the functions or their implementation, they
stay undocumented for the customer's protection. How would you like it if we
documetned an interface and then changed how it worked in a later version.
>>But the real worry with "unsupported" software is "Version Shock". What
happens with V1.1 or V2.0? Will the CPAL code still work? Q. Will you pull
the plug on me if I rely on CPAL interface?
I'll see if I can get any info on this, but unless/until we officially support
this function, I would have to say "No, you cannot rely on this interface
since we cannot guarantee that it will be there in a future version, or that
it will work the same if it is there".
I agree with you that it is to our advantage to provide better integration
with C++ and other languages that can call DLL's, but it is not to our
advantage to willy-nilly throw out functionality without thinking it through.
You can look at a lot of other products and the "bloat" they acquire to see
evidence of the problems this creates. I hope to see more integration in the
future, but what we have now isn't bad.
Tarik
#: 33976 S5/Reports
08-Jun-93 20:45:00
Sb: NumOfPages dies w/RPInfo
Fm: Murray Dowling 100032,2552
To: All
When a report includes the special field "Number Of Pages" (as in Page 1 of 7)
any attempt to print a single page using Start/EndPage in ReportPrintInfo
_FAILS COMPLETELY_. Instead _ONLY_ page 1 is printed, no matter what page has
been requested.
The problem is "avoided" by removing the "Number Of Pages" special field, but
I have clients who are _REALLY IMPRESSED_ that I put that into their reports.
Consequently, I put it into 30 reports. Now I will have to edit them all
back, _AND_ tell the client that the "Page 1 of 7" footer will have to go. I
AM NOT IMPRESSED!!!!!!!!!!!!
The report works interactively or without ReportPrintInfo or without "Number
Of Pages". But I have promised automated (read OPAL) report control, promised
"Number Of Pages" and require ReportPrintInfo.
No apologies to BI if this is a "known bug", because they didn't bother to
tell US about it.
#: 33979 S1/Miscellaneous
08-Jun-93 21:02:25
Sb: #33242-DC Index:18
Fm: Robert Ramirez (Sysop) 76702,255
To: Martin 100270,3472 (X)
Hello Martin,
At around the 10% level, P4W checks the printer device description and what
fonts are available. It seems that some printer drivers do not respond
correctly to the capability enquiries P4W can make. Also, a very large number
of fonts (> 130, I'm not sure what the actual threshold is) can cause
problems, as also can disabling non-TT fonts (this is an option in the Font
Manager, but we use some non-TT fonts).
So, things to do include ensuring non-TT fonts are enabled, and if your fonts
exceed a hundred it may be worth pruning some out. Also, you might try
installing a "vanilla" print driver if you have an unusual one, and ensure
your printer driver is a Win3.1 vintage (Win3.1 upgrade does not replace your
3.0 printer driver, you must do that explicitly, so many people still have
older print drivers without realising it).
~Robert
Borland Tech. Support
#: 33980 S1/Miscellaneous
08-Jun-93 21:02:30
Sb: #33251-Listboxes Sorting
Fm: Robert Ramirez (Sysop) 76702,255
To: Peter Boschman 100270,147
Hello Peter,
LIST boxes sort order is determined by the Primary index of the table. If you
want to change the way this list box displays, your going to need to write
ObjectPal code that will use a sorted temp. table that you would create
on-the-fly using TCursors. You then would simply use the Self.Datasource =
"sorted.sortedfield" to display the sorted listbox.
~Robert
Borland Tech. Support
#: 34000 S11/Using ObjectPAL
08-Jun-93 22:20:08
Sb: #TCursor
Fm: Marc Zev 70610,615
To: Tarik Ghbeish =Sysop= 76711,643 (X)
Tarik, I didn't catch the beginning of this thread but it sounds as though the
problems Rod is having are similar to the TCursor problems I am having.
I am attempting to make modifications to a table using UIObjects and TCursors
at the same time with unexpected results and lock-ups.
-Marc
* Reply: 34210
#: 34210 S11/Using ObjectPAL
09-Jun-93 18:30:32
Sb: #34000-TCursor
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Marc Zev 70610,615
>>
I am attempting to make modifications to a table using UIObjects and TCursors
at the same time with unexpected results and lock-ups.
Don't. TCursors and UIObjects cannot point to and edit the same record at the
same time. It's like asking two users to edit the same record. If you need
to access fields not placed on a form when you are accessing a record through
a UIObject, use dmPut and dmGet. If you need to sync a TCursor to a UIObject
or vice versa, make sure that you have first posted the record or it won't
work. The modified record is in a record buffer that cannot be accessed by
the other object type until it is posted into the table.
Tarik
#: 34035 S1/Miscellaneous
09-Jun-93 00:58:08
Sb: #33267-Superbase
Fm: Charles Yuen 70313,3010
To: Karen Crisp 71033,736 (X)
Karen--
Superbase is supported on CIS: GO SPCFORUM, Section 16. You can
post your questions there, but in the meantime, I'll say SB is: (1)
excellent on 386/SX w/4 meg of ram; (2) fast, and especially fast on
screen related functions and scrolling; (3) not as easy to generate
apps as ObjectVision, probably, but also can generate more
sophisticated apps than ObjectVision; (4) can add features through
DLL's; (5) runtime is sold via a developer's edition which includes
a SQL library and cost me about $420 as an upgrade, but prices are
moving down; (6) runtime is easy to use. WRT (3), SB has a visual
programming layer, which is object-based, but which generates
procedural code; almost anything you do in SB can be converted
easily into code, via direct saves of objects/forms/form pages, etc.
or via use of macro recorder. The runtime is especially powerful,
and I am continually being amazed at what I can accomplish in the
product. (I am a lawyer, not a programmer.)
--Chaz
#: 34042 S11/Using ObjectPAL
09-Jun-93 01:50:23
Sb: #Disable Alt key
Fm: Scott Basham 73042,2410
To: Mike Irwin/Co-Assist 100114,1437 (X)
Thanks!! I hadn't realized the form object was there, because you can't click
on it. Today I found 2 ways to access it -- through the object hierarchy and
by right-clicking on the header of the non-maximized form. I wish I had konwn
this about 2 months ago!!
>the code looks ok, but you shouldn't need to place it _EVERYWHERE_ !!!!!!
>
>Put it into the form's keyPhysical() (not the page's !) and take a look at
the on-line >doc for isPreFilter()
* Reply: 34203
#: 34203 S11/Using ObjectPAL
09-Jun-93 18:30:09
Sb: #34042-Disable Alt key
Fm: Tarik Ghbeish =Sysop= 76711,643
To: Scott Basham 73042,2410
You can also get to the form by clicking on the white space outside a page (
if your form has a smaller page, resize the window in design mode to larger
then the page to see the background area), OR by using the menus : Properties
| Form | Methods
Tarik
#: 34049 S2/Install/CFG/HrdWare
09-Jun-93 07:08:46
Sb: #33371-Smartdrv - Corrupt table
Fm: Duesburys 100032,641
To: Mike Irwin/Co-Assist 100114,1437 (X)
Thanks for the reply Mike...
Some further investigation revealed that the two tables which were corrupted
were being emptied within the custom method and then subject to a large number
of writes. When I took the EMPTY() statements out and put them in the
PUSHBUTTON() method prior to calling the custom method everything worked fine.
The problem could probably still be linked to caching since the EMPTY()
statement has worked fine in other methods where the writes have been less
intensive.
#: 34051 S11/Using ObjectPAL
09-Jun-93 07:34:28
Sb: non-US date() probem
Fm: Christoph Schifferli 100010,3542
To: all
date() alsways seems to return a string formatted according to US-rules, no
matter what the configuration of PdoxWin is.
Also, I think there is a discrepancy in the setFilter() vs. the locate()
methods, when used with dates.
If I supply setFilter with a string formatted as a date, the filter does not
work as expected. I have to give it a date-variable.
locate() works only with date-string, but not with date-variables.
This holds for european dates.
Is this a known bug? (or none)
- christoph -
#: 34064 S5/Reports
09-Jun-93 09:48:13
Sb: #Page Break
Fm: KURT ALBRECHT 72053,3070
To: Scott Arnett 76711,650 (X)
I was trying to insert a page break in my report today and i kept getting the
message that page breaks cannot cross objects. I have made plenty of room for
the page break by moving the band bar and there are no visable fields or text
boxes where I want to insert my page break. Whats wrong
* Reply: 34272
#: 34272 S5/Reports
09-Jun-93 22:46:53
Sb: #34064-Page Break
Fm: Gail Meisner (TeamB) 71333,2143
To: KURT ALBRECHT 72053,3070
Kurt-
You can get this message if your report bands don't have their Breakable
property checked.
Gail
#: 34065 S11/Using ObjectPAL
09-Jun-93 09:55:41
Sb: Password Fields?
Fm: John Marchioli 71333,622
To: Technical Support
Is there a way to create a password field? That is, as the user types into
the field, a special character (like "*") appears instead of the character the
was really typed?
If not, then I suspect I have to do some bogus hidden field stuff and send the
character typed to the hidden field and send the "*" to the password field?
If so, how do I handle when the user highlights the hole field and deletes the
selected text? Is there an easier way than to deal with the details?
John Marchioli
#: 34068 S11/Using ObjectPAL
09-Jun-93 10:33:45
Sb: Segment Load Failure
Fm: Michael Riccio 71204,214
To: Mark K. Lamb 76247,1424
Looks as though FILE HANDLES = 109 has cleared up most of my Segment Load
Failure problems, although I'm not sure why.
Thanks for the help.
Mike
#: 34070 S1/Miscellaneous
09-Jun-93 11:06:46
Sb: #33106-Memo fields
Fm: Greg T. Molnar 71552,2276
To: Robert Ramirez (Sysop) 76702,255 (X)
Thanks,
also I have had a problem with my system locking up when I attempt to place a
summary field in a group band of a report. Any ideas?
#: 34076 S6/Queries
09-Jun-93 11:38:18
Sb: #Odd result w/blnk in qry
Fm: Ben Holton (Sysop) 76704,32
To: Richard Biffl 73607,3043 (X)
>It seems that there should be some way to do a CALC COUNT ALL query to get a
>count of how many records do not have N, E, or blank as the Pat Type, but I
>have not found any way to do that in one query.
Richard (and Leonard),
You can get a count of how many records do not have a certain entry or entries
in them, such as N or S. In that field in the query, type in "NOT N, CALC
COUNT ALL" but don't checkmark any fields. You can put as many lines in the
query in this same field for as many entries that you want to check for, such
as S or BLANK.
Ben Holton
#: 34093 S5/Reports
09-Jun-93 12:39:01
Sb: #Multi-Calc Report
Fm: David Dinsmore 72630,1542
To: Anyone
If I want to have a summary report that will be doing calculations on fields
based on other fields in the record am I better off just doing all the work in
a form, store the values in a table and then print the report with that table?
* Reply: 34160
#: 34160 S5/Reports
09-Jun-93 15:58:17
Sb: #34093-Multi-Calc Report
Fm: Scott Arnett (Sysop) 76711,650
To: David Dinsmore 72630,1542 (X)
David-
Try building a query that does the first calculation, and then save that
query, and base the report on the QBE file. Then in the report sum up the
calculated fields. That way you don't have to save the calculation in the
table. The query will execute automatically when the report is run.
-Scott
#: 34094 S11/Using ObjectPAL
09-Jun-93 12:40:52
Sb: #Window Styles?
Fm: John Marchioli 71333,622
To: Technical Support
I am opening four forms from a library. I would like them to be hidden and
without maximize, minimize, and control box controls. This doesn't work:
method Init () Logical var
m_frm1, m_frm2, m_frm3, m_frm4 Form endVar
m_frm1.open (":TEST:FORM1", WinStyleHidden)
m_frm2.open (...
etc.
endMethod
Could someone give the low-down on the window styles? It seems that the
hidden window style gets overwritten if it is added with things like
WinStyleMaximize, etc. Should I just use the SDK ShowWindow ()?
John
* Reply: 34258
#: 34258 S11/Using ObjectPAL
09-Jun-93 20:59:02
Sb: #34094-Window Styles?
Fm: Rod Niner 72673,2130
To: John Marchioli 71333,622
I think you may need to use openAsDialog instead of open to get this feature.
Also it may be necessary to add the property constants see table 8-4 p200 of
objectpal developers guide
#: 34108 S5/Reports
09-Jun-93 13:04:02
Sb: Report w linked query
Fm: Michael Meservy 76656,300
To: Sysop (X)
I am trying to link a query with a standard data base file. As I am trying to
add fields to the report layout. I define a field on the report then choose
select field from object definition pop-up. When I try to select any of the
fields from the data base file the fields are enclosed in a function like
count(field_name). The query has many records to one record in the data base
file. Why can't I just get the record field without the functions when I
select fields from the file? Is there something I need to do different when
defining the link??? Thanks for your help
#: 34109 S13/Addins/Training
09-Jun-93 13:07:19
Sb: #Paradox Users Conference
Fm: Alan Zenreich 71171,1340
To: PALs
Greetings,
* Are you hungry for the latest Paradox techniques and tips?
* Do you want to pick the brains of some of the best Paradox talent
around?
* Do you miss the intimacy of a conference that deals only with
Paradox and Paradox for Windows?
* Does your boss refuse to send you to the West Coast?
Have I got news for you! I'm pleased to announce the upcoming
Paradox Users Conference
September 26 - 29, 1993
Walt Disney World Swan Hotel
Lake Buena Vista, Florida
This conference, set on the grounds of Disney World, is likely to be
closer in size (and tone) to the original Paradox conference in Monterey,
anticpating somehwere between 900 and 1500 people.
The conference is devoted exclusively to Paradox and Paradox for
Windows, with sessions for both end users and developers.
Topics include interactive Paradox and Paradox for Windows, PAL and
ObjectPAL programming, and multiuser/Client-Server issues. Discover
sophisticated Paradox 4.0 programming techniques. Gain an understanding
of the Paradox for Windows programming environment.
Share experiences with Developers from around the world.
The instructors are world class, some of the best known and highly
rated in the industry (both for their technical expertise and teaching
abilities). In alphabetical order:
Luke Chung Mark Pauker
Joe Clark Greg Salcedo
Tim Colling Ken Schachat
Dan Ehrmann Kevin Smith
Joe Fung Martin Rudy
Jim Kocis Ben Tandowski
Dan Paolini Bill Todd
Alan Zenreich
Although this is an independant conference, it has Borland's support.
Borland International will be giving the Keynote address, and
several Borland speakers will present technical sessions.
The registration fee is $895.00 per person, however an Early-Bird
registration fee of only $795.00 has been extended through mid August.
Space is limited, so register early!
The room rate is $130 per night (a pretty good deal considering Microsoft
held their Tech-Ed conference in this hotel and the room rate was $180
per night).
For additional information, contact:
The Paradox Users Conferene Hotline
800-942-8872
203-261-6227
Fax 203-261-3884
731 Main Street, Suite C-3
Monroe, CT 06468
I hope to see lots of you there!!
#: 34142 S1/Miscellaneous
09-Jun-93 15:06:21
Sb: Date Conversion problems
Fm: Smits Paul 100270,655
To: sysop (X)
Hello,
I'm having real troubles, and nobody seems to be interested!
I've posted this before (message: 32453) but it seems to be
disappeared.
I have "date conversion" problems. Can you please help?
I have a table, and (part of) the key is of type date. I have made a
method (listing follows) that displays only part of it (with specific date).
In windows I specified the format D/M/Y. I also did this in the ODAPI
(SYSTEM|FORMATS|DATE|...). I've tried to change this last one.
I couldn't observe any effect. What is the use?
My table displays (correctly) D/M/Y. The sort order proofs it.
Now what is wrong?
1) The msgInfo Procedure displays M/D/Y (wrong).
2) The Filter doesn't work (it selects all rows of the table).
3) The Order/Range of the form is filled in: 011893 (very wrong).
Funny effect: if I change date into 01/02/93 in the method. I get all rows
correctly (for 1 feb 93). But I can't do this for 18 jan 93: The method
won't execute.
============= Start listing method ===============
method depart(var eventInfo MoveEvent)
var
tblObj UIObject
dag Date
endVar
dag=Date("01/18/93")
if tblObj.attach ("PJTIJD") then
message ("Aantal dagen:", Number (Date("01/20/93")-dag)) ; Displays 2.00
tblObj.setFilter ("AG", dag, dag)
msgInfo ("Total recrods for dag "+ String (dag), tblObj.nRecords ())
else
msgStop ("Sorry","Can't attach to table.")
endIf
endmethod
=============== End listing method ===============
#: 34149 S4/Forms
09-Jun-93 15:34:23
Sb: Forms in Folder Bug?
Fm: Marlene Penry 71202,341
To: sysop (X)
Hi - I'm looking for more information on a problem I ran into. I created a
simple dialog form with one fillin value and
an OK and Cancel button. The OK pushbutton method runs a query and report.
Everything's fine when I
run this form from a File/Open. I put the form in the Folder, double click on
it, and it starts up the client's
copy of PerForm Plus software!!!
In talking to fellow developers I was told this was a "known bug", though I
can't find anything about it on this forum. The suggested workaround is to
launch the form from a script,
putting the script in the Folder. I haven't been back to the client site yet
to try this. But I would like to go
"armed" with as much information as possible on this problem so I can attempt
to troubleshoot it if the
workaround doesn't work. Is there a Tech Fax sheet or anything like that on
this problem? Please
enlighten me!
Thanks,
Marlene Penry
#: 34161 S4/Forms
09-Jun-93 16:07:22
Sb: Paradox Multi-Forms
Fm: Bob Dufresne 72000,2324
To: ALL
I have a main screen (Form1) where program options are chosen via menus. A
data entry screen (Form2) is opened for basic vendor input. A summary list
(Form3) is opened thru a pushbutton method listing vendor names and numbers.
My problem is that on a cancel in Form3, Form2 is also closed, leaving me with
Form1. My code is as follows:
; from main menu
Form2.open(formName)
choice = Form2.wait()
Form2.close()
; from second form
method pushButton::QuickList(...)
Form3.open(formName)
choice = Form3.wait()
Form3.close()
Any suggestions would be appreciated.
#: 34165 S4/Forms
09-Jun-93 16:25:16
Sb: #Create dynamic combo box
Fm: Gregg Maggioli 71514,3202
To: sysop (X)
Dear Whoever can help!
I designed an information system and am using Paradox for Windows to
implement it. I have 5-6 years experience working with various database
software. The last project I used MS Access and decided to use Paradox for
this project because of the power of ObjectPAL. What I am trying to
accomplish in Paradox is a dynamic combo box like the one in Access where you
can base the values displayed on a query or a field in a table. It is not
obvious to me how to do this. From what I can tell the combo boxs can only
contain a static list that cannot be based upon queries or tables. Is there
an easy way to accomplish a dynamic combo box in Paradox for Windows?
Thanks Gregg M.
* Reply: 34268
#: 34268 S4/Forms
09-Jun-93 22:25:00
Sb: #34165-Create dynamic combo box
Fm: Richard Wagner (TeamB) 71333,2031
To: Gregg Maggioli 71514,3202
Gregg,
Look on pages 277-78 of the ObjectPAL developer's guide. Essentially, you want
to put one line in the open event of the List object of the drop-down edit
box:
self.DataSource = "[TableName.FieldName]"
Richard Wagner
#: 34168 S5/Reports
09-Jun-93 16:41:41
Sb: #Printing draft quality
Fm: ERIC HASON 72072,3134
To: Scott Arnett
Scott,
I am trying to print in draft mode from a report on an Epson FX-286.
I set the printer into draft from the printer control box and the printer
itself is in draft mode.
It still prints NLQ. What am I doing wrong, how can I correct it?
Thanks,
Eric Hason
* Reply: 34264
#: 34264 S5/Reports
09-Jun-93 21:36:38
Sb: #34168-Printing draft quality
Fm: Michael Lant 71643,540
To: ERIC HASON 72072,3134
Windows takes over your printer and prints in whatever mode you have set in
your Windows printer setup. To change this, you must do so through the Windows
printer setup.
Michael Lant
#: 34179 S11/Using ObjectPAL
09-Jun-93 17:38:04
Sb: #canDepart works too well
Fm: Leonard Medal 75410,3060
To: Sysop (X)
I have a form on which there is one field object that accepts input. This is
not a field from a table but was drawn directly on the form with the field
tool. There are also two buttons on the form. One is a button that runs a
query and then a report based on the input in the field. The other button is
a cancel button that uses the pushButton method with a formReturn() to return
to a calling form.
The user can make an entry in the field then press the report button to run
the report. Or, the user can press the cancel button if they decide not to
run the report.
The field entry is for a month of the year so I want to check that the entry
is valid (1-12) before I run the report. So I put in this test code in the
built-in canDepart method for the field just to test for one valid month. (I
know that later I will need to change this to accomodate months 1 thru 12 but
it good enough to test.)
if self.value <> "1" then
beep()
msgInfo("Error", "Invalid Month")
eventInfo.setErrorCode(CanNotDepart)
endif
This works fine if I try to press the report button while an invalid month is
in the month field. It wont let me run the report without a valid entry in
the field. The problem is that it also works all too well when I try to
cancel the form with the other button. I want to be able to leave the form
when the cancel button is pressed even if I have an invalid month in the entry
field. How can I make this happen? Thanks.
* Reply: 34259
#: 34259 S11/Using ObjectPAL
09-Jun-93 21:05:03
Sb: #34179-canDepart works too well
Fm: Rod Niner 72673,2130
To: Leonard Medal 75410,3060
Im not sure if this will help but I use this line to prevent CanDepart from
being triggered by the MoveTo method:
if not (eventInfo.reason()=PalMove) then ;if buttons on form generate move let
move
eventInfo.setErrorCode(CanNotDepart)
endIf
#: 34242 S9/Learning ObjectPAL
09-Jun-93 20:36:34
Sb: #Getting year from date
Fm: Jim Wynn 70731,1677
To: All
I'm attempting to write a script that will pull the year value out of a date
field (Transplant date) and insert the year into a blank field (Transplant
year) in the same record, and have tried to implement a SCAN to do so. My
code, typically, doesn't work.
Here's what I've tried have so far:
method run(var eventInfo Event)
var
xplantsTC TCursor
endVar
xplantsTC.open("xp.db")
xplantsTC.edit()
scan xplantsTC
xplantsTC.Transplant year = year("Transplant date")
endscan
xplantsTC.endedit()
xplantsTC.close()
endmethod
Any suggestions?
* Reply: 34282
#: 34282 S9/Learning ObjectPAL
09-Jun-93 23:08:35
Sb: #34242-Getting year from date
Fm: Les Gainous 72731,146
To: Jim Wynn 70731,1677
RE: xplantsTC.Transplant year = year("Transplant date")
Jim,
Try this:
xplantsTC."Transplant year" = year("Transplant date")
goodLuck() Les 72731,146
#: 34260 S10/ObjectPAL Environ.
09-Jun-93 21:28:51
Sb: #Business days passed
Fm: Jim White 73530,207
To: All
Has anyone got any ideas as to how I might calculate business days passed in a
field under reports in PDOX/WIN?
I have a client who wishes to document the number of business days passed
between the opening of a service call and its close. The problem that I am
having difficulty with is determining how to calculate out weekends, and,
possibly, holidays, from this equation.
Any suggestions would be very much appreciated.
Thanks,
==>Jim
* Reply: 34283
#: 34283 S10/ObjectPAL Environ.
09-Jun-93 23:08:46
Sb: #34260-Business days passed
Fm: Les Gainous 72731,146
To: Jim White 73530,207
RE: how I might calculate business days passed
Jim,
This is very rough "pseudocode" (in other words, the syntax may not be
100%). This is only one way to do it using ObjectPAL.
{-----------------------------------------------------------------}
elpBusDays = 0
numDays = endDate - beginDate {assuming these dates are valid}
for i from 1 to numDays
if subStr((dow(beginDate + i)),1,1) <> "S" then
{the day must not start with the letter S, so lets count it.
caveat: weekday holidays are not checked!}
elpBusDays = elpBusDays + 1
endIf
endFor
stmt = "The number of elapsed business days is:" + strVal(elpBusDays)
msgInfo("Result",stmt)
{-----------------------------------------------------------------}
goodLuck() Les 72731,146
#: 34280 S6/Queries
09-Jun-93 23:06:04
Sb: #34079-Query Answer Alignment
Fm: Richard Biffl 73607,3043
To: Ben Holton (Sysop) 76704,32
>The only problem with the ANSWER.TV file being deleted is that when someone
>performs the same query multiple times, he would presumeably want the
>properties of that answer table to be the same as well. If the .TV file
>were deleted every time a new answer table was created, the saved >properties
would be deleted as well.
Is someone wanted a query to produce an ANSWER table with particular
properties, he could define the ANSWER table properties and save them with the
query, couldn't he? Then an ANSWER.TV file wouldn't be necessary and other
queries would run without interference, right?